*** empty log message ***
This commit is contained in:
10
src/create.c
10
src/create.c
@@ -1,5 +1,5 @@
|
||||
/* Create a tar archive.
|
||||
Copyright (C) 1985, 1992 Free Software Foundation
|
||||
Copyright (C) 1985, 1992, 1993 Free Software Foundation
|
||||
|
||||
This file is part of GNU Tar.
|
||||
|
||||
@@ -170,10 +170,8 @@ create_archive ()
|
||||
}
|
||||
else
|
||||
{
|
||||
p = name_next (1);
|
||||
do
|
||||
while (p = name_next (1))
|
||||
dump_file (p, -1, 1);
|
||||
while (p = name_next (1));
|
||||
}
|
||||
|
||||
write_eot ();
|
||||
@@ -345,7 +343,7 @@ dump_file (p, curdev, toplevel)
|
||||
}
|
||||
|
||||
/* Not found. Add it to the list of possible links. */
|
||||
lp = (struct link *) malloc ((unsigned) (sizeof (struct link) + strlen (p)));
|
||||
lp = (struct link *) ck_malloc ((unsigned) (sizeof (struct link) + strlen (p)));
|
||||
if (!lp)
|
||||
{
|
||||
if (!nolinks)
|
||||
@@ -992,7 +990,7 @@ init_sparsearray ()
|
||||
/*
|
||||
* Make room for our scratch space -- initially is 10 elts long
|
||||
*/
|
||||
sparsearray = (struct sp_array *) malloc (sp_array_size * sizeof (struct sp_array));
|
||||
sparsearray = (struct sp_array *) ck_malloc (sp_array_size * sizeof (struct sp_array));
|
||||
for (i = 0; i < sp_array_size; i++)
|
||||
{
|
||||
sparsearray[i].offset = 0;
|
||||
|
||||
1161
src/port.c
Normal file
1161
src/port.c
Normal file
File diff suppressed because it is too large
Load Diff
20
src/version.c
Normal file
20
src/version.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/* Version info for tar.
|
||||
Copyright (C) 1989, Free Software Foundation.
|
||||
|
||||
This file is part of GNU Tar.
|
||||
|
||||
GNU Tar is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU Tar is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GNU Tar; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
char version_string[] = "GNU tar version 1.10.14";
|
||||
Reference in New Issue
Block a user