1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Minor doc fix.

This commit is contained in:
hniksic 2005-05-06 06:56:16 -07:00
parent 47ccb39924
commit 4192de0002

View File

@ -2645,12 +2645,13 @@ http_atotm (const char *time_string)
to prevent garbage from the stack influencing strptime. */ to prevent garbage from the stack influencing strptime. */
xzero (t); xzero (t);
/* Note that under non-English locales Solaris strptime fails to /* Note that Solaris strptime fails to recognize English month
recognize English dates. We work around this by not setting names under non-English locales. We work around this by not
the LC_TIME category. Another way would be to temporarily setting the LC_TIME category. Another way would be to
set locale to C before invoking strptime, but that's slow and temporarily set locale to C before invoking strptime, but
messy. GNU strptime does not have this problem because it that's slow and messy. GNU strptime does not have this
recognizes English dates along with the local ones. */ problem because it recognizes English names along with the
local ones. */
if (check_end (strptime (time_string, time_formats[i], &t))) if (check_end (strptime (time_string, time_formats[i], &t)))
return mktime_from_utc (&t); return mktime_from_utc (&t);