https://bugzilla.novell.com/show_bug.cgi?id=864115
https://bugzilla.novell.com/show_bug.cgi?id=864115#c22
Marcus Meissner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |meissner@suse.com
Resolution|FIXED |
--- Comment #22 from Marcus Meissner 2014-03-20 08:52:02 UTC ---
addsbin looks a bit weird.
+ if (!(smask & USBIN_MASK) && !strcmp (ptr, "/bin"))
+ {
+ strcat (ret, "/usr/sbin:");
+ strcat (ret, ptr);
+ smask |= USBIN_MASK;
+ continue;
+ }
+ if (!(smask & SBIN_MASK) && !strcmp (ptr, "/usr/bin"))
+ {
+ strcat (ret, ptr);
+ strcat (ret, ":/sbin");
+ smask |= SBIN_MASK;
+ continue;
+ }
should not /sbin belong closer to /bin and /usr/sbin closer to /usr/bin (e.g.
switch of strcmps() in the if?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.