source:
patches/tar-1.15.1-sparse_fix-1.patch@
f80f888
Last change on this file since f80f888 was 69cde8d, checked in by , 19 years ago | |
---|---|
|
|
File size: 947 bytes |
-
tar-1.15.1/src/sparse.c
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2005-03-19 Initial Package Version: 1.15.1 Origin: Tar Bug Reports List Upstream Status: Applied Description: Fixes large file corruptions using option -S http://lists.gnu.org/archive/html/bug-tar/2005-03/msg00004.html
old new 1 1 /* Functions for dealing with sparse files 2 2 3 Copyright (C) 2003, 2004 Free Software Foundation, Inc.3 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 4 4 5 5 This program is free software; you can redistribute it and/or modify it 6 6 under the terms of the GNU General Public License as published by the … … 182 182 { 183 183 static char buffer[BLOCKSIZE]; 184 184 size_t count; 185 size_t offset = 0;185 off_t offset = 0; 186 186 struct sp_array sp = {0, 0}; 187 187 188 188 if (!lseek_or_error (file, 0, SEEK_SET))
Note:
See TracBrowser
for help on using the repository browser.