diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3e664b88a..d4f358fdc 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,6 +1,7 @@ 2003-07-09 Christopher Faylor - * 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 @@ -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 57d91ffce..6ce815999 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 6954d0969..13657a078 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. */