Bug#408304: man 3 strtof: wrong #define directive

2007-01-28 Thread Michael Kerrisk
tags 408304 fixed-usptream thanks Hello Oliver. The manpage (3) for strtof (strtod) says: #define _XOPEN_SOURCE=600 /* or #define _ISOC99_SOURCE */ #include stdlib.h First, the former define contains a typo. is: #define _XOPEN_SOURCE=600 #include stdlib.h should be:

Bug#408304: man 3 strtof: wrong #define directive

2007-01-28 Thread Michael Kerrisk
Justin Pryzby wrote: Second, none of these two defines activate the strtof() and strtold() protos. According to stdlib.h, __USE_ISOC99 should be defined instead, as specified in features.h, i.e.: No; Michael corrected me, so I'll pass on the knowledge. The __USE_* macros aren't to be used

Bug#408304: man 3 strtof: wrong #define directive

2007-01-28 Thread Justin Pryzby
On Sun, Jan 28, 2007 at 09:45:15AM -0800, Michael Kerrisk wrote: Justin Pryzby wrote: Second, none of these two defines activate the strtof() and strtold() protos. According to stdlib.h, __USE_ISOC99 should be defined instead, as specified in features.h, i.e.: No; Michael corrected me,

Bug#408304: man 3 strtof: wrong #define directive

2007-01-24 Thread Oliver Lange
Package: manpages Version: 2.39-1 Hello everyone, The manpage (3) for strtof (strtod) says: #define _XOPEN_SOURCE=600 /* or #define _ISOC99_SOURCE */ #include stdlib.h First, the former define contains a typo. is: #define _XOPEN_SOURCE=600 #include stdlib.h should be: #define

Bug#408304: man 3 strtof: wrong #define directive

2007-01-24 Thread Justin Pryzby
tag 408304 patch thanks On Wed, Jan 24, 2007 at 08:02:16PM +0100, Oliver Lange wrote: Package: manpages Version: 2.39-1 Hello everyone, The manpage (3) for strtof (strtod) says: #define _XOPEN_SOURCE=600 /* or #define _ISOC99_SOURCE */ #include stdlib.h First, the former define