diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-18 01:04:46 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-18 01:04:46 +0000 |
| commit | 9e3dd664b96a8c662fdf16054d35da02f6d12de9 (patch) | |
| tree | 4abf595a8bf31d9a408606c02c6ea458c90a634e /archivers/zoo/files/patch-aa | |
| parent | Jean-Marc Zucconi's unzip port. (diff) | |
Jean-Marc Zucconi's zoo port.
Submitted by: jmz
Notes
Notes:
svn path=/head/; revision=243
Diffstat (limited to 'archivers/zoo/files/patch-aa')
| -rw-r--r-- | archivers/zoo/files/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/zoo/files/patch-aa b/archivers/zoo/files/patch-aa new file mode 100644 index 000000000000..397e18b3a938 --- /dev/null +++ b/archivers/zoo/files/patch-aa @@ -0,0 +1,19 @@ +*** bsd.c~ Wed Aug 7 23:34:07 1991 +--- bsd.c Mon Oct 17 16:41:17 1994 +*************** +*** 98,104 **** + /* Truncate a file. */ + int zootrunc(f) FILE *f; + { +! extern long lseek(); + long seekpos; + int fd = fileno(f); + seekpos = lseek(fd, 0L, SEEK_CUR); +--- 98,104 ---- + /* Truncate a file. */ + int zootrunc(f) FILE *f; + { +! extern off_t lseek(); + long seekpos; + int fd = fileno(f); + seekpos = lseek(fd, 0L, SEEK_CUR); |
