This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] time/tst-strptime2.c: test full input range +/- 0-9999


On 15 Aug 2015 12:42, James Perkins wrote:
> +static const char const *dummy_string = "1113472456";

the double const here doesn't make sense.  maybe you meant:
	static const char * const dummy_string = ...;

but really it looks like you want:
	static const char dummy_string[] = ...;

> +      extern bool verbose; \

you shouldn't need this since the code is all included below

> +      verbose = 1; \

verbose is a bool, so only use true & false.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]