src/newlib ChangeLog libc/include/getopt.h lib ...

corinna@sourceware.org corinna@sourceware.org
Wed Nov 13 09:09:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2013-11-13 09:09:45

Modified files:
	newlib         : ChangeLog 
	newlib/libc/include: getopt.h 
	newlib/libc/stdlib: getopt.c 

Log message:
	* newlib/libc/include/getopt.h (struct option): name field should be
	"const char *".
	* newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc()
	instead of fprintf() to save code space.  Fix signed/unsigned
	comparison.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1844&r2=1.1845
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/include/getopt.h.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdlib/getopt.c.diff?cvsroot=src&r1=1.8&r2=1.9



More information about the Newlib-cvs mailing list