Hi,

* Aaron Schrab [04/13/02 19:31:32 CEST] wrote:
> I don't know why this would happen with glibc, but with dietlibc the
> st_size element of struct stat is unsigned, so unless it hits 0 exactly
> the test will always succeed.

As I said, it happened in both cases: statically linked
against glibc and dietlibc.

> I think the attached patch should fix this problem.

Yes it does. Thanks! Where to send the money to? ;-)

Since my $tmpdir is ~/tmp with drwx------, are there any
security issues when working with this patch?

Cheers, Rocco.

Attachment: msg27129/pgp00000.pgp
Description: PGP signature

Reply via email to