fastjar: Small _chsize/ftruncate fix

DJ Delorie dj@redhat.com
Wed Jul 21 21:37:00 GMT 2004


Using an undocumented function in libiberty, certainly when not also
testing for it, is bad.

Why can't we use the age-old trick of write()ing zero bytes (not a
single NUL byte) to truncate a file?



More information about the Java-patches mailing list