[bug] printing zero size files

walter harms wharms at bfs.de
Mon Feb 20 17:46:12 UTC 2012



Am 19.02.2012 17:35, schrieb Denys Vlasenko:
> On Thursday 16 February 2012 17:21, walter harms wrote:
>> Hi,
>> i just found a minor but in lpr. (tested with 19.0)
>>
>>  touch null
>>  lpr null <- never returns
> 
> Can't reproduce.
> 
> Please strace it.
> 

Hello Denis,
can you reproduce it using  "lpr -Plp at remote null" ?

from strace:
...
read(3, "\0", 1)                        = 1
write(3, "\0", 1)                       = 1
read(3, 0x7ffff39a19b0, 1)              = ? ERESTARTSYS (To be restarted)   <!-- last before SIGINT ->


mmmhh,
i did an update to lasted version of bb and
the problem vanished did you find something ?

re,
 wh


More information about the busybox mailing list