📄 sscanf.patch
字号:
[dank] Modified very slightly to apply to 2.2.5.2003-03-05 Roland McGrath <roland@redhat.com> * stdio-common/sscanf.c: Use prototype defn with ... syntax. * libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.===================================================================RCS file: /cvs/glibc/libc/stdio-common/sscanf.c,vretrieving revision 1.8retrieving revision 1.9diff -u -r1.8 -r1.9--- libc/stdio-common/sscanf.c 2002/08/10 09:24:42 1.8+++ libc/stdio-common/sscanf.c 2003/03/05 19:58:03 1.9@@ -1,4 +1,4 @@-/* Copyright (C) 1991, 1995, 1996, 1998 Free Software Foundation, Inc.+/* Copyright (C) 1991,1995,1996,1998,2002,2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or@@ -27,9 +27,7 @@ /* Read formatted input from S, according to the format string FORMAT. */ /* VARARGS2 */ int-sscanf (s, format)- const char *s;- const char *format;+sscanf (const char *s, const char *format, ...) { va_list arg; int done;===================================================================RCS file: /cvs/glibc/libc/libio/swprintf.c,vretrieving revision 1.3retrieving revision 1.4diff -u -r1.3 -r1.4--- libc/libio/swprintf.c 2001/07/06 04:55:32 1.3+++ libc/libio/swprintf.c 2003/03/05 19:58:03 1.4@@ -1,4 +1,5 @@-/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc.+/* Copyright (C) 1991,1995,1997,1998,1999,2000,2003+ Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or@@ -22,10 +23,7 @@ /* Write formatted output into S, according to the format string FORMAT. */ /* VARARGS3 */ int-swprintf (s, n, format)- wchar_t *s;- size_t n;- const wchar_t *format;+swprintf (wchar_t *s, size_t n, const wchar_t *format, ...) { va_list arg; int done;===================================================================RCS file: /cvs/glibc/libc/libio/swscanf.c,vretrieving revision 1.2retrieving revision 1.3diff -u -r1.2 -r1.3--- libc/libio/swscanf.c 2001/07/06 04:55:32 1.2+++ libc/libio/swscanf.c 2003/03/05 19:58:03 1.3@@ -1,4 +1,4 @@-/* Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.+/* Copyright (C) 1991,1995,1996,1998,1999,2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or@@ -22,9 +22,7 @@ /* Read formatted input from S, according to the format string FORMAT. */ /* VARARGS2 */ int-swscanf (s, format)- const wchar_t *s;- const wchar_t *format;+swscanf (const wchar_t *s, const wchar_t *format, ...) { va_list arg; int done;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -