[BusyBox 0000739]: [PORTABILITY] fuser.c will not compile with pre-C99 compilers
bugs at busybox.net
bugs at busybox.net
Sun Feb 19 22:51:40 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=739
======================================================================
Reported By: rfelker
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 739
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: unable to reproduce
Fixed in Version:
======================================================================
Date Submitted: 02-19-2006 12:11 PST
Last Modified: 02-19-2006 14:51 PST
======================================================================
Summary: [PORTABILITY] fuser.c will not compile with pre-C99
compilers
Description:
In function fuser_kill_pid_list, a statement occurs before mypid is
declared. This will fail on most compilers, including odd compilers which
may be used in embedded systems and gcc 2.95. The fix is simple; change:
pid_list *curr;
curr = plist;
pid_t mypid = getpid();
to:
pid_list *curr = plist;
pid_t mypid = getpid();
======================================================================
----------------------------------------------------------------------
vapier - 02-19-06 14:51
----------------------------------------------------------------------
you're using outdated sources, this has already been fixed in svn a month
ago
Issue History
Date Modified Username Field Change
======================================================================
02-19-06 12:11 rfelker New Issue
02-19-06 12:11 rfelker Status new => assigned
02-19-06 12:11 rfelker Assigned To => BusyBox
02-19-06 14:51 vapier Note Added: 0001117
02-19-06 14:51 vapier Status assigned => closed
02-19-06 14:51 vapier Resolution open => unable to
reproduce
======================================================================
More information about the busybox-cvs
mailing list