Re: linux: fix two bugs and some clean-up

2011-04-20 Thread Jim Meyering
Phillip Susi wrote: > On 4/17/2011 4:53 PM, Jim Meyering wrote: >> Hi Phillip, >> >> Sorry it's taken so long. >> I began looking at your p%d vs %d change and started by >> factoring things. In doing that I spotted two real bugs. >> So these 3 c-sets fix those and do the factorization, for now. >

Re: linux: fix two bugs and some clean-up

2011-04-20 Thread Jim Meyering
Brian C. Lane wrote: > On Sun, Apr 17, 2011 at 10:53:35PM +0200, Jim Meyering wrote: > >> /* Check for devfs-style /disc => /partN transformation >> unconditionally; the system might be using udev with devfs rules, >> and if not the test is harmless. */ >>

Re: linux: fix two bugs and some clean-up

2011-04-19 Thread Brian C. Lane
On Sun, Apr 17, 2011 at 10:53:35PM +0200, Jim Meyering wrote: > /* Check for devfs-style /disc => /partN transformation > unconditionally; the system might be using udev with devfs rules, > and if not the test is harmless. */ > if (5 < path_len && !strcmp

Re: linux: fix two bugs and some clean-up

2011-04-19 Thread Phillip Susi
On 4/17/2011 4:53 PM, Jim Meyering wrote: > Hi Phillip, > > Sorry it's taken so long. > I began looking at your p%d vs %d change and started by > factoring things. In doing that I spotted two real bugs. > So these 3 c-sets fix those and do the factorization, for now. So the semantic change is st