Thread View: gnu.utils.bug
1 messages
1 total messages
Started by gnulists
Sun, 27 Dec 1992 17:45
(none)
Author: gnulists
Date: Sun, 27 Dec 1992 17:45
Date: Sun, 27 Dec 1992 17:45
53 lines
1944 bytes
1944 bytes
tar 1.11.1 has an annoying habit of printing out a number instead of a name
if it can't find the directory to untar into...
Here's a patch: (I wish everything was this simple!)
leisner@annapurna$ !rcsdiff
rcsdiff -c tar.c
===================================================================
RCS file: tar.c,v
retrieving revision 1.1
diff -c -r1.1 tar.c
*** 1.1 1992/12/27 23:55:25
--- tar.c 1992/12/28 00:07:12
***************
*** 433,439 ****
#if 0
case 'C':
if(chdir(optarg)<0)
! msg_perror("Can't change directory to %d",optarg);
break;
#endif
--- 433,439 ----
#if 0
case 'C':
if(chdir(optarg)<0)
! msg_perror("Can't change directory to %s",optarg);
break;
#endif
***************
*** 1051,1057 ****
if (nlp->fake)
{
if (nlp->change_dir && chdir (nlp->change_dir))
! msg_perror ("Can't change to directory %d", nlp->change_dir);
namelist = 0;
return 1;
}
--- 1051,1057 ----
if (nlp->fake)
{
if (nlp->change_dir && chdir (nlp->change_dir))
! msg_perror ("Can't change to directory %s", nlp->change_dir);
namelist = 0;
return 1;
}
--
marty
leisner.henr801c@xerox.com leisner@eso.mc.xerox.com
Member of the League for Programming Freedom
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads