Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-10 06:09:24 +0400
committerChristopher Faylor <me@cgf.cx>2003-07-10 06:09:24 +0400
commit2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89 (patch)
treec39ee6029446d25ed8ea495efbdbc8d4c5619fa8 /winsup/cygwin
parentf1a4b6b59a0747eac6975d5341da3b69d42d22f0 (diff)
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
-rw-r--r--winsup/cygwin/include/cygwin/version.h2
3 files changed, 4 insertions, 4 deletions
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 <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 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. */