mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-23 18:10:43 +00:00
*** empty log message ***
This commit is contained in:
@@ -534,7 +534,7 @@ int skipcrud;
|
||||
char *from,*to;
|
||||
extern union record *head;
|
||||
|
||||
dirp=opendir(skipcrud+head->header.name);
|
||||
dirp=opendir(skipcrud+current_file_name);
|
||||
|
||||
if(!dirp) {
|
||||
/* The directory doesn't exist now. It'll be created.
|
||||
@@ -583,7 +583,7 @@ int skipcrud;
|
||||
break;
|
||||
}
|
||||
if(*arc=='\0') {
|
||||
p=new_name(skipcrud+head->header.name,cur);
|
||||
p=new_name(skipcrud+current_file_name,cur);
|
||||
if(f_confirm && !confirm("delete",p)) {
|
||||
free(p);
|
||||
continue;
|
||||
|
||||
19
src/port.h
19
src/port.h
@@ -1,5 +1,5 @@
|
||||
/* Portability declarations. Requires sys/types.h.
|
||||
Copyright (C) 1988 Free Software Foundation
|
||||
Copyright (C) 1988, 1992 Free Software Foundation
|
||||
|
||||
This file is part of GNU Tar.
|
||||
|
||||
@@ -17,11 +17,22 @@ 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. */
|
||||
|
||||
#include "pathmax.h"
|
||||
|
||||
/* AIX requires this to be the first thing in the file. */
|
||||
#ifdef __GNUC__
|
||||
#define alloca __builtin_alloca
|
||||
#endif
|
||||
#else /* not __GNUC__ */
|
||||
#if HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#else /* not HAVE_ALLOCA_H */
|
||||
#ifdef _AIX
|
||||
#pragma alloca
|
||||
#else /* not _AIX */
|
||||
char *alloca ();
|
||||
#endif /* not _AIX */
|
||||
#endif /* not HAVE_ALLOCA_H */
|
||||
#endif /* not __GNUC__ */
|
||||
|
||||
#include "pathmax.h"
|
||||
|
||||
#ifdef _POSIX_VERSION
|
||||
#include <sys/wait.h>
|
||||
|
||||
Reference in New Issue
Block a user