aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-05-31 18:04:00 +0000
committerDJ Delorie <dj@redhat.com>2000-05-31 18:04:00 +0000
commitfcc4976d2636d385aa2eeeb7c026035c19d6d1d7 (patch)
tree3fea72045d7cacfc4505dbcee1ad8e9d1742378a /winsup
parent2f32d93f81e2bd28c18fc2dc30c6640d2c38e744 (diff)
downloadnewlib-fcc4976d2636d385aa2eeeb7c026035c19d6d1d7.zip
newlib-fcc4976d2636d385aa2eeeb7c026035c19d6d1d7.tar.gz
newlib-fcc4976d2636d385aa2eeeb7c026035c19d6d1d7.tar.bz2
* include/cygwin/version.h: use decimal, NOT octal
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/cygwin/version.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index dda8abb..1c30b77 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-31 DJ Delorie <dj@cygnus.com>
+
+ * include/cygwin/version.h: use decimal, NOT octal
+
Wed May 31 16:40:00 2000 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (fhandler_disk_file::open): Check for executable
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index b2abf16..dedc70f 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -54,6 +54,8 @@ details. */
/* CYGWIN_VERSION_DLL_COMBINED gives us a single number
representing the combined DLL major and minor numbers. */
+ /* WATCH OUT FOR OCTAL! Don't use, say, "00020" for 0.20 */
+
#define CYGWIN_VERSION_DLL_MAKE_COMBINED(maj, min) (((maj) * 1000) + min)
#define CYGWIN_VERSION_DLL_COMBINED \
CYGWIN_VERSION_DLL_MAKE_COMBINED (CYGWIN_DLL_VERSION_MAJOR, CYGWIN_DLL_VERSION_MINOR)
@@ -65,7 +67,7 @@ details. */
/* API versions <= this had a termios structure whose members were
too small to accomodate modern settings. */
-#define CYGWIN_VERSION_DLL_OLD_TERMIOS 00005
+#define CYGWIN_VERSION_DLL_OLD_TERMIOS 5
#define CYGWIN_VERSION_DLL_IS_OLD_TERMIOS \
(CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
CYGWIN_VERSION_DLL_OLD_TERMIOS)
@@ -74,7 +76,7 @@ details. */
handling in the stdio buffers */
#define CYGWIN_VERSION_OLD_STDIO_CRLF_HANDLING \
(CYGWIN_VERSION_DLL_MAKE_COMBINED (user_data->api_major, user_data->api_minor) <= \
- 00020)
+ 20)
/* We used to use the DLL major/minor to track