aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-04-14 02:09:57 +0000
committerChristopher Faylor <me@cgf.cx>2003-04-14 02:09:57 +0000
commitb3acb772c02a440ea4950bdde45501533d223f7f (patch)
treed5bcfd27dcb23298d59d138ee80d59c071bc36f2 /winsup
parent01620aa250b66f5202b000a0d2eb096bb1b8dcd8 (diff)
downloadnewlib-b3acb772c02a440ea4950bdde45501533d223f7f.zip
newlib-b3acb772c02a440ea4950bdde45501533d223f7f.tar.gz
newlib-b3acb772c02a440ea4950bdde45501533d223f7f.tar.bz2
* mkvers.sh: Prefix day with 0 in date only when day < 10.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rwxr-xr-xwinsup/cygwin/mkvers.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 81458cf..dbb1526 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-13 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * mkvers.sh: Prefix day with 0 in date only when day < 10.
+
2003-04-11 Pierre Humblet <pierre.humblet@ieee.org>
* security.cc (get_info_from_sd): New function.
diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh
index 3296b56..d14deb1 100755
--- a/winsup/cygwin/mkvers.sh
+++ b/winsup/cygwin/mkvers.sh
@@ -45,7 +45,7 @@ case "$2" in
Dec) m=12 ;;
esac
-if [ "$3" -le 10 ]; then
+if [ "$3" -lt 10 ]; then
d=0$3
else
d=$3