diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-08 19:44:25 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-08 19:44:25 +0300 |
commit | d66ac2bc524ab413d86ad729ca3ff8fc61d0324f (patch) | |
tree | 9602e291bfc49915fc5419df0cf6f653fa6ae266 /winsup/cygwin/fhandler_process.cc | |
parent | 01d615435c88d73c50ea0818544633a20c6db232 (diff) |
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r-- | winsup/cygwin/fhandler_process.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index a349b6c60..29789b07c 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -67,9 +67,9 @@ static const char * const process_listing[] = static const int PROCESS_LINK_COUNT = (sizeof (process_listing) / sizeof (const char *)) - 1; -static off_t format_process_stat (_pinfo *p, char *destbuf, size_t maxsize); -static off_t format_process_status (_pinfo *p, char *destbuf, size_t maxsize); -static off_t format_process_statm (_pinfo *p, char *destbuf, size_t maxsize); +static __off64_t format_process_stat (_pinfo *p, char *destbuf, size_t maxsize); +static __off64_t format_process_status (_pinfo *p, char *destbuf, size_t maxsize); +static __off64_t format_process_statm (_pinfo *p, char *destbuf, size_t maxsize); static int get_process_state (DWORD dwProcessId); static bool get_mem_values (DWORD dwProcessId, unsigned long *vmsize, unsigned long *vmrss, unsigned long *vmtext, @@ -364,7 +364,7 @@ fhandler_process::fill_filebuf () } static -off_t +__off64_t format_process_stat (_pinfo *p, char *destbuf, size_t maxsize) { char cmd[MAX_PATH]; @@ -500,7 +500,7 @@ format_process_stat (_pinfo *p, char *destbuf, size_t maxsize) } static -off_t +__off64_t format_process_status (_pinfo *p, char *destbuf, size_t maxsize) { char cmd[MAX_PATH]; @@ -594,7 +594,7 @@ format_process_status (_pinfo *p, char *destbuf, size_t maxsize) } static -off_t +__off64_t format_process_statm (_pinfo *p, char *destbuf, size_t maxsize) { unsigned long vmsize = 0UL, vmrss = 0UL, vmtext = 0UL, vmdata = 0UL, |