mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
LibC: Add FIXME for vsscanf
This commit is contained in:
parent
7a558d16b0
commit
5fbb8f9c6a
Notes:
sideshowbarker
2024-07-19 02:11:26 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/5fbb8f9c6ad Pull-request: https://github.com/SerenityOS/serenity/pull/3454 Reviewed-by: https://github.com/bugaevc
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ int vsscanf(const char* buf, const char* s, va_list ap)
|
|||
int count = 0;
|
||||
int width = 0;
|
||||
|
||||
// FIXME: This doesn't work quite right. For example, it fails to match 'SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1\r\n'
|
||||
// with 'SSH-%d.%d-%[^\n]\n'
|
||||
|
||||
while (*s && *buf) {
|
||||
while (isspace(*s))
|
||||
s++;
|
||||
|
|
Loading…
Add table
Reference in a new issue