[dm-devel] [PATCH] dmsetup: Remove limitation on table file line length

Alasdair G Kergon agk at redhat.com
Wed May 10 19:50:31 UTC 2006


On Mon, May 08, 2006 at 01:59:32PM -0500, Kevin Corry wrote:
> To get around this limitation, I wrote a patch that simply changes from using 
> fgets() to getline() in the _parse_file() routine. The getline() routine will 
> automatically allocate (or reallocate) space as needed to read in an entire 
> line from a file.
 
Applied.

Thanks,
Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list