git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/libc-libposix - Features for SpiderWeb/SpiderScript
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
scanf.c
diff --git
a/Usermode/Libraries/libc.so_src/scanf.c
b/Usermode/Libraries/libc.so_src/scanf.c
index
3a561c4
..
6a1d584
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/scanf.c
+++ b/
Usermode/Libraries/libc.so_src/scanf.c
@@
-148,7
+148,8
@@
int _vcscanf(int (*__getc)(void*), void (*__rewind)(void*), void *h, const char
} ptr;
long long ival;
//long double rval;
} ptr;
long long ival;
//long double rval;
- int maxlen = 0, offset = -1;
+ int maxlen = 0;
+ // int offset = -1;
enum e_vcscanf_sizes size = _VCSCANF_UNDEF;
enum e_vcscanf_types valtype;
enum e_vcscanf_sizes size = _VCSCANF_UNDEF;
enum e_vcscanf_types valtype;
@@
-185,12
+186,14
@@
int _vcscanf(int (*__getc)(void*), void (*__rewind)(void*), void *h, const char
}
// %n$ - Direct offset selection, shouldn't be mixed with just %
}
// %n$ - Direct offset selection, shouldn't be mixed with just %
+ #if 0
for( ; isdigit(fch); fch = *format++ )
maxlen = maxlen * 10 + (fch - '0');
if( fch == '$' ) {
offset = maxlen;
maxlen = 0;
}
for( ; isdigit(fch); fch = *format++ )
maxlen = maxlen * 10 + (fch - '0');
if( fch == '$' ) {
offset = maxlen;
maxlen = 0;
}
+ #endif
// Supress assignemnt?
if( fch == '*' )
// Supress assignemnt?
if( fch == '*' )
UCC
git Repository :: git.ucc.asn.au