diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-29 09:10:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-29 09:10:59 +0000 |
commit | 75f212b2cc1fa126621a985188ccfce7050ea593 (patch) | |
tree | 8b6ebd68947763a8384d837961d8f06cef04ed90 /winsup/cygwin/fhandler_process.cc | |
parent | a9b33f4de673fbdabba560f2b24f0017b5bb8b8f (diff) | |
download | cygnal-75f212b2cc1fa126621a985188ccfce7050ea593.tar.gz cygnal-75f212b2cc1fa126621a985188ccfce7050ea593.tar.bz2 cygnal-75f212b2cc1fa126621a985188ccfce7050ea593.zip |
* fhandler_process.cc: Re-add exename.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r-- | winsup/cygwin/fhandler_process.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index 0c42db957..7fd71102f 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -45,10 +45,11 @@ static const int PROCESS_STATM = 12; static const int PROCESS_CMDLINE = 13; static const int PROCESS_MAPS = 14; static const int PROCESS_FD = 15; +static const int PROCESS_EXENAME = 16; /* Keep symlinks always the last entries. */ -static const int PROCESS_ROOT = 16; -static const int PROCESS_EXE = 17; -static const int PROCESS_CWD = 18; +static const int PROCESS_ROOT = 17; +static const int PROCESS_EXE = 18; +static const int PROCESS_CWD = 19; /* The position of "root" defines the beginning of symlik entries. */ #define is_symlink(nr) ((nr) >= PROCESS_ROOT) @@ -71,6 +72,7 @@ static const char * const process_listing[] = "cmdline", "maps", "fd", + "exename", /* Keep symlinks always the last entries. */ "root", "exe", @@ -435,6 +437,7 @@ fhandler_process::fill_filebuf () } break; } + case PROCESS_EXENAME: case PROCESS_EXE: { filebuf = (char *) realloc (filebuf, bufalloc = CYG_MAX_PATH); |