All of lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
Date: Sun, 21 Jan 2007 13:11:58 -0800 (PST)	[thread overview]
Message-ID: <20070121211158.539AA48582@busybox.net> (raw)

Author: aldot
Date: 2007-01-21 13:11:56 -0800 (Sun, 21 Jan 2007)
New Revision: 17441

Log:
- update proposed patchlet


Modified:
   trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff


Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff	2007-01-21 19:21:21 UTC (rev 17440)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff	2007-01-21 21:11:56 UTC (rev 17441)
@@ -37,7 +37,7 @@
  libc_hidden_proto(fopen)
  libc_hidden_proto(fclose)
  libc_hidden_proto(fprintf)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  #ifdef __UCLIBC_HAS_XLOCALE__
  libc_hidden_proto(__ctype_b_loc)
@@ -92,90 +92,11 @@
  libc_hidden_proto(fclose)
  libc_hidden_proto(getc_unlocked)
 -libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
 +libc_hidden_proto(fgetc_unlocked)
  #ifdef __UCLIBC_HAS_WCHAR__
  libc_hidden_proto(wcslen)
  libc_hidden_proto(vfwscanf)
-@@ -506,7 +507,7 @@ enum {
- 	FLAG_THOUSANDS	=	0x20,
- 	FLAG_I18N		=	0x40,	/* only works for d, i, u */
- 	FLAG_MALLOC     =   0x80,	/* only works for s, S, and [ (and l[)*/
--};	  
-+};
- 
- 
- #define SPEC_RANGES		{ CONV_n, CONV_p, CONV_i, CONV_A, \
-@@ -1024,7 +1025,7 @@ static int scan_getwc(register struct sc
- 		__set_errno(EILSEQ);		/* In case of incomplete conversion. */
- 		sc->mb_fail = 1;
- 	}
--	
-+
-  SUCCESS:
- 	sc->width = width;			/* Restore width. */
- 
-@@ -1366,7 +1367,7 @@ int VFSCANF (FILE *__restrict fp, const 
- 
- 			if (psfs.conv_num == CONV_percent) {
- 				goto MATCH_CHAR;
-- 			}
-+			}
- 
- 			if (psfs.conv_num == CONV_n) {
- #ifdef __UCLIBC_MJN3_ONLY__
-@@ -1410,7 +1411,6 @@ int VFSCANF (FILE *__restrict fp, const 
- 			{
- 				b = (psfs.store ? ((unsigned char *) psfs.cur_ptr) : buf);
- 				fail = 1;
--			
- 
- 				if (psfs.conv_num == CONV_c) {
- 					if (sc.width == INT_MAX) {
-@@ -1451,7 +1451,7 @@ int VFSCANF (FILE *__restrict fp, const 
- 					if (*++fmt == '^') {
- 						++fmt;
- 						invert = 1;
-- 					}
-+					}
- 					memset(scanset, invert, sizeof(scanset));
- 					invert = 1-invert;
- 
-@@ -1519,7 +1519,7 @@ int VFSCANF (FILE *__restrict fp, const 
- 
- 				wb = (psfs.store ? ((wchar_t *) psfs.cur_ptr) : wbuf);
- 				fail = 1;
--			
-+
- 				if (psfs.conv_num == CONV_C) {
- 					if (sc.width == INT_MAX) {
- 						sc.width = 1;
-@@ -1796,7 +1796,6 @@ int attribute_hidden __psfs_do_numeric(p
- 	unsigned char usflag, base;
- 	unsigned char nonzero = 0;
- 	unsigned char seendigit = 0;
--	
- 
- #ifdef __UCLIBC_MJN3_ONLY__
- #warning CONSIDER: What should be returned for an invalid conversion specifier?
-@@ -2210,7 +2209,7 @@ int attribute_hidden __psfs_do_numeric(p
- 		assert(seendigit);
- 		seendigit = 0;
- 		nonzero = 0;
--		
-+
- 		if (sc->cc == '0') {
- 			seendigit = 1;
- 			*b++ = '0';
-@@ -2226,7 +2225,7 @@ int attribute_hidden __psfs_do_numeric(p
- 			}
- 			__scan_getc(sc);
- 		}
--			
-+
- 		if (!seendigit) {		/* No digits.  Unrecoverable. */
- 			goto DONE_DO_UNGET;
- 		}
 Index: uClibc_trunk/libc/stdio/putwchar.c
 ===================================================================
 --- uClibc_trunk/libc/stdio/putwchar.c	(revision 17397)
@@ -185,7 +106,7 @@
  #elif defined __UCLIBC_HAS_THREADS__
  
 -libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  /* psm: should this be fputwc? */
  libc_hidden_proto(fputc)
@@ -199,7 +120,7 @@
  #include "_stdio.h"
  
 -libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
 +libc_hidden_proto(fgetc_unlocked)
  
  #undef getchar
@@ -213,7 +134,7 @@
  #include "_stdio.h"
  
 -libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  
  #undef putchar
@@ -274,7 +195,7 @@
  libc_hidden_proto(getdelim)
 -
 -libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
 +libc_hidden_proto(fgetc_unlocked)
  
  /* Note: There is a defect in this function.  (size_t vs ssize_t). */
@@ -288,7 +209,7 @@
  #include "_stdio.h"
  
 -libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  libc_hidden_proto(fputs_unlocked)
  
@@ -311,7 +232,7 @@
  libc_hidden_proto(memcpy)
  libc_hidden_proto(putc_unlocked)
 -libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  libc_hidden_proto(__glibc_strerror_r)
  
@@ -376,7 +297,7 @@
  libc_hidden_proto(fputc)
  libc_hidden_proto(putc)
 -libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
 +libc_hidden_proto(fputc_unlocked)
  
  /* It is desirable to use this bit on systems that have it.
@@ -423,7 +344,7 @@
  		( ((__stream)->__bufpos < (__stream)->__bufgetc_u)	\
  		  ? (*(__stream)->__bufpos++)				\
 -		  : __fgetc_unlocked(__stream) )
-+		  : fgetc_unlocked(__stream) )
++		  : (fgetc_unlocked)(__stream) )
  
  # if 0
  	/* Classic macro approach.  getc{_unlocked} can have side effects. */
@@ -445,7 +366,7 @@
  		( ((__stream)->__bufpos < (__stream)->__bufputc_u)	\
  		  ? (*(__stream)->__bufpos++) = (__c)			\
 -		  : __fputc_unlocked((__c),(__stream)) )
-+		  : fputc_unlocked((__c),(__stream)) )
++		  : (fputc_unlocked)((__c),(__stream)) )
  
  # if 0
  	/* Classic macro approach.  putc{_unlocked} can have side effects.*/
@@ -467,10 +388,10 @@
  libc_hidden_proto(__fsetlocking)
  libc_hidden_proto(rewind)
  libc_hidden_proto(fgets_unlocked)
-+#undef getc_unlocked
++//#undef getc_unlocked
  libc_hidden_proto(getc_unlocked)
 -libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
 +libc_hidden_proto(fgetc_unlocked)
  libc_hidden_proto(fopen)
  libc_hidden_proto(fclose)
@@ -483,7 +404,7 @@
  libc_hidden_proto(strerror)
  libc_hidden_proto(fprintf)
  libc_hidden_proto(exit)
-+#undef putc
++//#undef putc
  libc_hidden_proto(putc)
 +libc_hidden_proto(fputc)
  libc_hidden_proto(vfprintf)

             reply	other threads:[~2007-01-21 21:11 UTC|newest]

Thread overview: 134+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21 21:11 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 12:11 [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc jacmet at uclibc.org
2009-03-03 20:23 jacmet at uclibc.org
2009-02-03 14:29 jacmet at uclibc.org
2009-02-03 14:28 jacmet at uclibc.org
2009-01-28 15:48 jacmet at uclibc.org
2009-01-24  6:44 jacmet at uclibc.org
2009-01-16 14:21 jacmet at uclibc.org
2009-01-12 15:57 jacmet at uclibc.org
2009-01-12 15:01 jacmet at uclibc.org
2009-01-12 14:11 jacmet at uclibc.org
2009-01-02  8:30 ulf at uclibc.org
2008-12-29 15:22 jacmet at uclibc.org
2008-12-23 10:21 jacmet at uclibc.org
2008-12-23  9:39 jacmet at uclibc.org
2008-12-07 21:22 jacmet at uclibc.org
2008-12-01 14:53 jacmet at uclibc.org
2008-12-01 14:23 egtvedt at uclibc.org
2008-12-01 14:23 egtvedt at uclibc.org
2008-12-01 13:02 egtvedt at uclibc.org
2008-10-20 18:55 jacmet at uclibc.org
2008-10-20 15:23 jacmet at uclibc.org
2008-10-07  7:32 egtvedt at uclibc.org
2008-10-07  7:20 egtvedt at uclibc.org
2008-09-30  7:29 egtvedt at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-06-18  8:51 jacmet at uclibc.org
2008-06-18  8:51 jacmet at uclibc.org
2008-06-17 13:30 jacmet at uclibc.org
2008-06-17 15:53 ` Bernhard Fischer
2008-06-17 18:44   ` Peter Korsgaard
2008-06-18  7:10     ` Bernhard Fischer
2008-06-18  7:38       ` Peter Korsgaard
2008-06-18  8:29         ` Bernhard Fischer
2008-05-31  7:28 jacmet at uclibc.org
2008-05-31  7:28 jacmet at uclibc.org
2008-05-31  7:27 jacmet at uclibc.org
2008-04-24  9:03 jacmet at uclibc.org
2008-04-17 13:25 nkukard at uclibc.org
2008-03-29 17:34 nkukard at uclibc.org
2008-03-29 16:23 nkukard at uclibc.org
2008-03-29 16:56 ` Peter Korsgaard
2008-03-29 17:20   ` Nigel Kukard
2008-03-27 10:23 jacmet at uclibc.org
2008-03-27 10:23 jacmet at uclibc.org
2008-03-06 18:50 ninevoltz at uclibc.org
2008-03-06 21:54 ` Peter Korsgaard
2007-11-15 15:44 vanokuten at uclibc.org
2007-11-15 10:16 vanokuten at uclibc.org
2007-10-12 15:12 ulf at uclibc.org
2007-09-30 12:43 aldot at uclibc.org
2007-09-28 22:16 ulf at uclibc.org
2007-09-28 21:44 ulf at uclibc.org
2007-09-27 23:54 ulf at uclibc.org
2007-09-27 21:51 aldot at uclibc.org
2007-09-27  0:18 ulf at uclibc.org
2007-09-26  9:09 ulf at uclibc.org
2007-09-25 14:13 ulf at uclibc.org
2007-09-25 13:37 ulf at uclibc.org
2007-09-25 16:06 ` vano
2007-09-25 14:30   ` Ulf Samuelsson
2007-09-25 16:47     ` vano
2007-09-25 16:14       ` Ulf Samuelsson
2007-09-24 12:19 aldot at uclibc.org
2007-09-22 16:40 aldot at uclibc.org
2007-08-29 18:05 aldot at uclibc.org
2007-08-26 20:55 aldot at uclibc.org
2007-08-26 20:40 aldot at uclibc.org
2007-08-21  8:05 aldot at uclibc.org
2007-08-16  5:01 ulf at uclibc.org
2007-08-14  7:07 ulf at uclibc.org
2007-08-12 12:37 ulf at uclibc.org
2007-08-01 19:13 ulf at uclibc.org
2007-08-01 12:11 ulf at uclibc.org
2007-07-30 18:23 ulf at uclibc.org
2007-07-29 17:47 ulf at uclibc.org
2007-07-30  7:36 ` Bernhard Fischer
2007-07-30 14:34   ` Ulf Samuelsson
2007-07-29 17:40 ulf at uclibc.org
2007-07-29 17:32 ulf at uclibc.org
2007-07-23 11:32 aldot at uclibc.org
2007-07-20 10:49 ulf at uclibc.org
2007-07-08 12:05 aldot at uclibc.org
2007-07-07 23:54 aldot at uclibc.org
2007-07-07 10:39 aldot at uclibc.org
2007-07-07 16:40 ` BuraphaLinux Server
2007-07-05  5:13 sjhill at uclibc.org
2007-06-28 12:14 aldot at uclibc.org
2007-06-26 16:58 aldot at uclibc.org
2007-06-25  8:16 aldot at uclibc.org
2007-06-24 14:38 aldot at uclibc.org
2007-06-13 18:14 aldot at uclibc.org
2007-06-07 16:18 aldot at uclibc.org
2007-06-07 12:16 aldot at uclibc.org
2007-05-12 18:39 aldot at uclibc.org
2007-05-10  2:37 sjhill at uclibc.org
2007-05-10  2:37 sjhill at uclibc.org
2007-04-28 17:08 sjhill at uclibc.org
2007-04-15  9:51 aldot at uclibc.org
2007-03-22 16:23 andersen at uclibc.org
2007-02-28 22:01 andersen at uclibc.org
2007-02-22  8:53 jacmet at uclibc.org
2007-02-20 11:06 jacmet at uclibc.org
2007-02-15 11:24 aldot at uclibc.org
2007-02-14 13:28 aldot at uclibc.org
2007-02-10 21:24 aldot at uclibc.org
2007-02-09 17:53 aldot at uclibc.org
2007-02-06 18:35 aldot at uclibc.org
2007-02-05 13:01 aldot at uclibc.org
2007-02-02 13:50 aldot at uclibc.org
2007-01-30 17:45 aldot at uclibc.org
2007-01-29 22:23 andersen at uclibc.org
2007-01-29 22:21 andersen at uclibc.org
2007-01-29 16:44 jacmet at uclibc.org
2007-01-28 12:11 aldot at uclibc.org
2007-01-25 20:27 andersen at uclibc.org
2007-01-24 15:12 aldot at uclibc.org
2007-01-20 22:03 aldot at uclibc.org
2007-01-16  9:35 aldot at uclibc.org
2006-12-15 14:40 aldot at uclibc.org
2006-12-15 13:39 aldot at uclibc.org
2006-12-15 14:31 ` Ulrich Hecht
2006-12-15 14:43   ` Bernhard Fischer
2006-12-14 15:17 aldot at uclibc.org
2006-12-14  2:50 andersen at uclibc.org
2006-12-13 13:07 andersen at uclibc.org
2006-12-13 12:42 andersen at uclibc.org
2006-12-13 12:41 andersen at uclibc.org
2006-12-13 12:34 andersen at uclibc.org
2006-12-13 11:51 andersen at uclibc.org
2006-12-13  6:59 andersen at uclibc.org
2006-12-02 18:30 aldot at uclibc.org
2006-10-02 18:52 andersen at uclibc.org
2006-09-25 14:28 jacmet at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070121211158.539AA48582@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.