Re: [Bug 113096] Re: pgrep cannot match some long filenames

2007-05-11 Thread Mike Donovan
You too noticed ps -e truncates process names. At first, I suspected pgrep was a script over ps -e but pgrep is a C executable. ps and pgrep are both linked to libproc.so: objdump -x /bin/ps | grep libproc objdump -x /usr/bin/pgrep | grep libproc NEEDED libproc-3.2.7.so Probably/maybe a

[Bug 113096] Re: pgrep cannot match some long filenames

2007-05-11 Thread Mike Donovan
You too noticed ps -e truncates process names. At first, I suspected pgrep was a script over ps -e but pgrep is a C executable. ps and pgrep are both linked to libproc.so: objdump -x /bin/ps | grep libproc objdump -x /usr/bin/pgrep | grep libproc NEEDED libproc-3.2.7.so Probably/maybe a

[Bug 113096] pgrep cannot match some long filenames

2007-05-07 Thread Mike Donovan
Public bug reported: Binary package hint: procps pgrep has a bug in trying to match: - a script with a long filename - and its filename ends in a number Example: name this myscriptwithalongfilename2 #!/bin/sh sleep 10 chmod u+x myscriptwithalongfilename2 ./myscriptwithalongfilename2