[SCM] strace branch, master, updated. v4.6-207-g3449ae8
dvlasenk at redhat.com
Sun Jan 29 20:26:26 UTC 2012
On 01/28/2012 01:38 AM, Dmitry V. Levin wrote:
> On Fri, Jan 27, 2012 at 04:27:32PM +0000, Denys Vlasenko wrote:
>> commit 3449ae83c26d159dddc8573dc22b867feb0f49c6
>> Author: Denys Vlasenko<vda.linux at googlemail.com>
>> Date: Fri Jan 27 17:24:26 2012 +0100
>> Fix readlink result display - was printing bogus "..." semi-randomly
>> * file.c (decode_readlink): Use printstr() instead of printpathn().
> Another difference between printstr() and printpathn() is that printstr's
> output is limited to the maximum string size limit specified by -s option
> (the default is 32). If readlink's result should be considered the same
> way as file names, then it shouldn't be subject to this limit.
One possible way to achieve this is to add a flag variable to printpathn()
which would prevent "..." from printing even if NUL is not found.
Do you want this fix?
Have better idea?
More information about the Strace-devel