summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1996-10-13 05:59:42 +0000
committerPaul Eggert <eggert@twinsun.com>1996-10-13 05:59:42 +0000
commit24488131e02c610137c3838cdfee580fa1652fcd (patch)
tree40b8498fcfa453a7552c05804bd8011fa95fe51f
parentd845e8569278e9a6bfb2fe32f40a1c382f632b08 (diff)
downloademacs-24488131e02c610137c3838cdfee580fa1652fcd.tar.gz
(datearg): Use the empty string, not '-d>1970-01-01', to extract all
revisions, since some hosts reject 1970-01-01 when east of UTC. (date): Remove.
-rw-r--r--lib-src/=rcs2log6
-rwxr-xr-xlib-src/rcs2log6
2 files changed, 4 insertions, 8 deletions
diff --git a/lib-src/=rcs2log b/lib-src/=rcs2log
index a2a9fced295..e68c5616e22 100644
--- a/lib-src/=rcs2log
+++ b/lib-src/=rcs2log
@@ -12,7 +12,7 @@
# Author: Paul Eggert <eggert@twinsun.com>
-# $Id: rcs2log,v 1.32 1996/09/30 22:15:13 eggert Exp eggert $
+# $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $
# Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
@@ -126,7 +126,6 @@ month_data='
# what's already in ChangeLog; it's the user's responsibility to remove them.
case $rlog_options in
'')
- date=1970-01-01
if test -s "$changelog"
then
e='
@@ -147,10 +146,9 @@ case $rlog_options in
'
d=`$AWK "$e" <"$changelog"` || exit
case $d in
- ?*) date=$d
+ ?*) datearg="-d>$d"
esac
fi
- datearg="-d>$date"
esac
# Use TZ specified by ChangeLog local variable, if any.
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index a2a9fced295..e68c5616e22 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -12,7 +12,7 @@
# Author: Paul Eggert <eggert@twinsun.com>
-# $Id: rcs2log,v 1.32 1996/09/30 22:15:13 eggert Exp eggert $
+# $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $
# Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
@@ -126,7 +126,6 @@ month_data='
# what's already in ChangeLog; it's the user's responsibility to remove them.
case $rlog_options in
'')
- date=1970-01-01
if test -s "$changelog"
then
e='
@@ -147,10 +146,9 @@ case $rlog_options in
'
d=`$AWK "$e" <"$changelog"` || exit
case $d in
- ?*) date=$d
+ ?*) datearg="-d>$d"
esac
fi
- datearg="-d>$date"
esac
# Use TZ specified by ChangeLog local variable, if any.