Commit 54c3e652 authored by Marc G. Fournier's avatar Marc G. Fournier

Oops, sorry...meant to commit the patch from Thomas for tzn->CTZName

parent 83f558af
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: nabstime.c,v 1.49 1998/12/15 15:10:03 vadim Exp $ * $Id: nabstime.c,v 1.50 1998/12/15 15:28:57 scrappy Exp $
* *
*/ */
#include <stdio.h> #include <stdio.h>
...@@ -71,11 +71,7 @@ GetCurrentAbsoluteTime(void) ...@@ -71,11 +71,7 @@ GetCurrentAbsoluteTime(void)
strftime(CTZName, MAXTZLEN, "%Z", tm); strftime(CTZName, MAXTZLEN, "%Z", tm);
#endif #endif
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */ /* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
/* tzn isn't defined !!! - vadim 15-12-1998 */ strcpy(CTZName, tm->tm_zone);
#if 0
if (tzn != NULL)
strcpy(tzn, tm->tm_zone);
#endif
#elif defined(HAVE_INT_TIMEZONE) #elif defined(HAVE_INT_TIMEZONE)
tm = localtime(&now); tm = localtime(&now);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment