GNU bug report logs -
#13472
Execution mode can hang pc when parameter refers to big file
Previous Next
Reported by: Pavel Raiskup <praiskup <at> redhat.com>
Date: Thu, 17 Jan 2013 11:11:02 UTC
Severity: normal
Done: Peter Rosin <peda <at> lysator.liu.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2/13/14, Peter Rosin <peda <at> lysator.liu.se> wrote:
> On 2014-02-13 18:57, Peter Rosin wrote:
>> Ok, everybody seems happy. But not me, not 100% anyway. This introduces
>> an extra fork, and AFAICT, the "extra protection" is only needed when
>> func_lalib_p is called from func_ltwrapper_script_p. Should we perhaps
>> have a separate implementation in func_ltwrapper_script_p instead of
>> simply calling func_lalib_p?
>>
>> Maybe we could also lose the "sed -e 4q" part when dd limits the size?
>
> *snip* outline, real patch attached instead...
>
> Now, which patch should I push?
The new looks a bit nicer to me although I have not tested it.
One comment I have that applies to both patches... you should probably
be using AC_CHECK_PROGS instead of AC_PATH_PROG because the latter
requires an absolute filename.
Specifically, AC_PATH_PROG will ignore any user-set value for DD if
it's not absolute.
Cheers,
Nick
This bug report was last modified 11 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.