* jartool.c (main): Ensure that only one of ftruncate and _chsize
is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84931
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
+
+ * jartool.c (main): Ensure that only one of ftruncate and _chsize
+ is used.
+
2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
PR 16472
if (action == ACTION_UPDATE)
#if HAVE_FTRUNCATE
ftruncate (jarfd, lseek (jarfd, 0, SEEK_CUR));
-#endif
-#if HAVE__CHSIZE
+#else
_chsize (jarfd, lseek (jarfd, 0, SEEK_CUR));
#endif