Re: [PATCH] libparted: ignore zero-length devices

2010-11-20 Thread Otavio Salvador
On Sat, Nov 20, 2010 at 6:32 AM, Jim Meyering wrote: > Otavio Salvador wrote: >> On Wed, Nov 17, 2010 at 1:14 PM, Colin Watson wrote: >> ... >>> * libparted/arch/linux.c (_device_get_length): Return the value of >>> PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by >>> the

Re: [PATCH] libparted: ignore zero-length devices

2010-11-20 Thread Jim Meyering
Otavio Salvador wrote: > On Wed, Nov 17, 2010 at 1:14 PM, Colin Watson wrote: > ... >> * libparted/arch/linux.c (_device_get_length): Return the value of >> PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by >> the test suite. > ... > > The patch itself looks OK however as di

Re: [PATCH] libparted: ignore zero-length devices

2010-11-20 Thread Jim Meyering
Colin Watson wrote: > * bootstrap.conf (gnulib_modules): Add xstrtoll. > * configure.ac: Create DYNAMIC_LOADING output variable. > * libparted/arch/linux.c (_device_get_length): Return the value of > PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by > the test suite. > (init_

Re: [PATCH] libparted: ignore zero-length devices

2010-11-19 Thread Otavio Salvador
On Wed, Nov 17, 2010 at 1:14 PM, Colin Watson wrote: ... > * libparted/arch/linux.c (_device_get_length): Return the value of > PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by > the test suite. ... The patch itself looks OK however as discussed at IRC I think that LD_PREL