Thanks for the report!
Here's the fix:

Index: date.c
===================================================================
RCS file: /fetish/shellutils/src/date.c,v
retrieving revision 1.93
diff -u -p -r1.93 date.c
--- date.c      2000/05/11 07:23:42     1.93
+++ date.c      2000/07/19 20:57:35
@@ -287,7 +287,8 @@ batch_convert (const char *input_filenam
        }
     }
 
-  free (initial_TZ);
+  if (universal_time)
+    free (initial_TZ);
 
   if (fclose (in_stream) == EOF)
     error (2, errno, "`%s'", input_filename);

Michael Hohn <[EMAIL PROTECTED]> writes:
| Hello,
| here is the problem:
|
|     ~:0> date --v
|     date (GNU sh-utils) 2.0
|     Written by David MacKenzie.
|
|     Copyright (C) 1999 Free Software Foundation, Inc.
|     This is free software; see the source for copying conditions.  There is NO
|     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|     ~:0> uname -a
|     Linux emperor 2.2.16 #2 Tue Jun 20 12:41:55 MDT 2000 i686 unknown
|     ~:0> date -f -
|     now
|     Wed Jul 19 10:17:26 MDT 2000
|     Segmentation fault (core dumped)
|     ~:139>
|
| This machine is running RedHat Gnu/Linux 6.2.
| The core dump follows the C-d character.

Reply via email to