[BusyBox 0001510]: 1.7.1 -- pidof fails for filenames in excess of 13 characters
bugs at busybox.net
bugs at busybox.net
Mon Sep 24 18:38:06 UTC 2007
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1510
======================================================================
Reported By: ephogy
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1510
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-24-2007 08:06 PDT
Last Modified: 09-24-2007 11:38 PDT
======================================================================
Summary: 1.7.1 -- pidof fails for filenames in excess of 13
characters
Description:
pidof fails when the filname passed to it exceeds 13 characters in length.
======================================================================
----------------------------------------------------------------------
vda - 09-24-07 11:38
----------------------------------------------------------------------
$ cp -a busybox busybox_a_very_long_filename_indeed
$ ./busybox_a_very_long_filename_indeed sleep 30 &
$ ./busybox pidof busybox_a_very_long_filename_indeed
17233
So it works for "real" executables.
In libbb/find_pid_by_name.c you can find an extended explanation why it
doesn't work for scripts.
Issue History
Date Modified Username Field Change
======================================================================
09-24-07 08:06 ephogy New Issue
09-24-07 08:06 ephogy Status new => assigned
09-24-07 08:06 ephogy Assigned To => BusyBox
09-24-07 11:38 vda Note Added: 0002791
======================================================================
More information about the busybox-cvs
mailing list