* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.
This commit is contained in:
parent
f1a4b6b59a
commit
2f5cab7bb2
|
@ -1,6 +1,7 @@
|
||||||
2003-07-09 Christopher Faylor <cgf@redhat.com>
|
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>
|
2003-07-09 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
@ -2804,4 +2805,3 @@
|
||||||
|
|
||||||
* passwd.cc (getpwuid_r32): Add uid/gid fields to size check
|
* passwd.cc (getpwuid_r32): Add uid/gid fields to size check
|
||||||
calculation.
|
calculation.
|
||||||
|
|
||||||
|
|
|
@ -462,7 +462,7 @@ format_proc_stat (char *destbuf, size_t maxsize)
|
||||||
|
|
||||||
char *eobuf = destbuf;
|
char *eobuf = destbuf;
|
||||||
if (!wincap.is_winnt ())
|
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
|
else
|
||||||
{
|
{
|
||||||
NTSTATUS ret;
|
NTSTATUS ret;
|
||||||
|
|
|
@ -42,7 +42,7 @@ details. */
|
||||||
changes to the DLL and is mainly informative in nature. */
|
changes to the DLL and is mainly informative in nature. */
|
||||||
|
|
||||||
#define CYGWIN_VERSION_DLL_MAJOR 1005
|
#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
|
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
|
||||||
incompatible. */
|
incompatible. */
|
||||||
|
|
Loading…
Reference in New Issue