clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since fb40919 was
69cde8d,
checked in by Jim Gifford <clfs@…>, 18 years ago
|
Added: All patches needed for the book.
|
-
Property mode set to
100644
|
File size:
947 bytes
|
Rev | Line | |
---|
[69cde8d] | 1 | Submitted By: Jim Gifford (patches at jg555 dot com) |
---|
| 2 | Date: 2005-03-19 |
---|
| 3 | Initial Package Version: 1.15.1 |
---|
| 4 | Origin: Tar Bug Reports List |
---|
| 5 | Upstream Status: Applied |
---|
| 6 | Description: Fixes large file corruptions using option -S |
---|
| 7 | http://lists.gnu.org/archive/html/bug-tar/2005-03/msg00004.html |
---|
| 8 | --- tar-1.15.1/src/sparse.c.orig 2005-03-20 04:23:34.144506120 +0000 |
---|
| 9 | +++ tar-1.15.1/src/sparse.c 2005-03-20 04:23:56.842055568 +0000 |
---|
| 10 | @@ -1,6 +1,6 @@ |
---|
| 11 | /* Functions for dealing with sparse files |
---|
| 12 | |
---|
| 13 | - Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
---|
| 14 | + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
---|
| 15 | |
---|
| 16 | This program is free software; you can redistribute it and/or modify it |
---|
| 17 | under the terms of the GNU General Public License as published by the |
---|
| 18 | @@ -182,7 +182,7 @@ |
---|
| 19 | { |
---|
| 20 | static char buffer[BLOCKSIZE]; |
---|
| 21 | size_t count; |
---|
| 22 | - size_t offset = 0; |
---|
| 23 | + off_t offset = 0; |
---|
| 24 | struct sp_array sp = {0, 0}; |
---|
| 25 | |
---|
| 26 | if (!lseek_or_error (file, 0, SEEK_SET)) |
---|
Note: See
TracBrowser
for help on using the repository browser.