]> git.pld-linux.org Git - packages/squashfs.git/commitdiff
s/lseek64/lseek/
authorareq <areq@pld-linux.org>
Sun, 19 Jan 2003 19:31:15 +0000 (19:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squashfs-lseek.patch -> 1.1

squashfs-lseek.patch [new file with mode: 0644]

diff --git a/squashfs-lseek.patch b/squashfs-lseek.patch
new file mode 100644 (file)
index 0000000..9c547b4
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Nur squashfs1.1b.org/squashfs-tools/mksquashfs.c squashfs1.1b/squashfs-tools/mksquashfs.c
+--- squashfs1.1b.org/squashfs-tools/mksquashfs.c       Thu Jan  9 03:07:56 2003
++++ squashfs1.1b/squashfs-tools/mksquashfs.c   Sun Jan 19 20:24:07 2003
+@@ -190,7 +190,7 @@
+ {
+       off_t off = byte;
+-      if(lseek64(fd, off, SEEK_SET) == -1) {
++      if(lseek(fd, off, SEEK_SET) == -1) {
+               perror("Lseek on destination failed");
+               exit(0);
+       }
+@@ -209,7 +209,7 @@
+       if(off + bytes > ((long long)1<<32) - 1 )
+               BAD_ERROR("Filesystem greater than maximum size 2^32 - 1\n");
+-      if(lseek64(fd, off, SEEK_SET) == -1) {
++      if(lseek(fd, off, SEEK_SET) == -1) {
+               perror("Lseek on destination failed");
+               exit(0);
+       }
This page took 0.088564 seconds and 4 git commands to generate.