From: Alexandre Duret-Lutz Date: Tue, 8 Feb 2005 23:06:44 +0000 (+0000) Subject: * lib/mdate-sh: Check the size of the word following the month to X-Git-Tag: Release-1-9b~189 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fca82c553fddd4466dc08f1421330fd6474b65c;p=thirdparty%2Fautomake.git * lib/mdate-sh: Check the size of the word following the month to catch Darwin. This way the filename can contain spaces. --- diff --git a/ChangeLog b/ChangeLog index 7babaf332..a83b8bb9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-08 Stepan Kasal + * lib/mdate-sh: Check the size of the word following the month to + catch Darwin. This way the filename can contain spaces. + * doc/automake.texi (Requirements, Options): Typos. 2005-02-08 Alexandre Duret-Lutz diff --git a/doc/stamp-vti b/doc/stamp-vti index c9bd5ee31..98bac51f8 100644 --- a/doc/stamp-vti +++ b/doc/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 7 February 2005 +@set UPDATED 8 February 2005 @set UPDATED-MONTH February 2005 @set EDITION 1.9a @set VERSION 1.9a diff --git a/doc/version.texi b/doc/version.texi index c9bd5ee31..98bac51f8 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 7 February 2005 +@set UPDATED 8 February 2005 @set UPDATED-MONTH February 2005 @set EDITION 1.9a @set VERSION 1.9a diff --git a/lib/mdate-sh b/lib/mdate-sh index a60e7d71b..4b2efdf91 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -148,9 +148,9 @@ case $2 in Dec) month=December; nummonth=12;; esac -case $# in - 4) day=$1;; - *) day=$3; shift;; +case $3 in + ???*) day=$1;; + *) day=$3; shift;; esac # Here we have to deal with the problem that the ls output gives either