diff options
author | jkh <jkh@FreeBSD.org> | 1994-10-18 09:04:46 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-10-18 09:04:46 +0800 |
commit | 0fe103cdb2ecb2840509f4c0bdb785f0ed089a3b (patch) | |
tree | 3763a026f28323fb389a5532ac7a2883631056a8 /archivers/zoo/files | |
parent | 0b636ecea986d3592f0c612aee8a557bffeb40af (diff) | |
download | freebsd-ports-gnome-0fe103cdb2ecb2840509f4c0bdb785f0ed089a3b.tar.gz freebsd-ports-gnome-0fe103cdb2ecb2840509f4c0bdb785f0ed089a3b.tar.zst freebsd-ports-gnome-0fe103cdb2ecb2840509f4c0bdb785f0ed089a3b.zip |
Jean-Marc Zucconi's zoo port.
Submitted by: jmz
Diffstat (limited to 'archivers/zoo/files')
-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); |