mirror of https://github.com/nealey/eris.git
Make a note of glibc's gmtime opening tzinfo
This commit is contained in:
parent
db14145584
commit
6ef2b74474
1
fnord.c
1
fnord.c
|
@ -1807,6 +1807,7 @@ main(int argc, char *argv[], const char *const *envp)
|
||||||
(unsigned long long) (rangeend - rangestart));
|
(unsigned long long) (rangeend - rangestart));
|
||||||
printf("Last-Modified: ");
|
printf("Last-Modified: ");
|
||||||
{
|
{
|
||||||
|
/* XXX: This parses tzinfo. It shouldn't have to. */
|
||||||
struct tm *x = gmtime(&st.st_mtime);
|
struct tm *x = gmtime(&st.st_mtime);
|
||||||
/*
|
/*
|
||||||
* "Sun, 06 Nov 1994 08:49:37 GMT"
|
* "Sun, 06 Nov 1994 08:49:37 GMT"
|
||||||
|
|
Loading…
Reference in New Issue