diff options
author | Christopher Faylor <me@cgf.cx> | 2003-07-10 02:09:24 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-07-10 02:09:24 +0000 |
commit | 2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89 (patch) | |
tree | c39ee6029446d25ed8ea495efbdbc8d4c5619fa8 /winsup | |
parent | f1a4b6b59a0747eac6975d5341da3b69d42d22f0 (diff) | |
download | newlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.zip newlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.tar.gz newlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.tar.bz2 |
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3e664b8..d4f358f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,6 +1,7 @@ 2003-07-09 Christopher Faylor <cgf@redhat.com> - * include/cygwin/version.h: Bump DLL minor number to 1. + * fhandler_proc.cc (format_proc_stat): Use correctly sized constants + for filling in zeros on 98. 2003-07-09 Christopher Faylor <cgf@redhat.com> @@ -2804,4 +2805,3 @@ * passwd.cc (getpwuid_r32): Add uid/gid fields to size check calculation. - diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 57d91ff..6ce8159 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -462,7 +462,7 @@ format_proc_stat (char *destbuf, size_t maxsize) char *eobuf = destbuf; if (!wincap.is_winnt ()) - eobuf += __small_sprintf (destbuf, "cpu %U %U %U %U\n", 0, 0, 0, 0); + eobuf += __small_sprintf (destbuf, "cpu %U %U %U %U\n", 0ULL, 0ULL, 0ULL, 0ULL); else { NTSTATUS ret; diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 6954d09..13657a0 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -42,7 +42,7 @@ details. */ changes to the DLL and is mainly informative in nature. */ #define CYGWIN_VERSION_DLL_MAJOR 1005 -#define CYGWIN_VERSION_DLL_MINOR 1 +#define CYGWIN_VERSION_DLL_MINOR 0 /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are incompatible. */ |