delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/30/15:49:16

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200201302002.VAA12624@father.ludd.luth.se>
Subject: Re: djtar patch
In-Reply-To: <20020130114409.D4099@kendall.sfbr.org> from JT Williams at "Jan 30, 2002 11:44:09 am"
To: djgpp-workers AT delorie DOT com
Date: Wed, 30 Jan 2002 21:02:15 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to JT Williams:
> The tarchange.lst file produced by `djtar -x' contains
> entries of the form
> 
> 	old_filename -> new_filename
> 
> If the `->' were not written, any resulting `tarchange.lst'
> file could be used without modification as the ChangeFile
> argument to the djtar `-n' option in a future djtar -x.
> 
> What do others think about this?
> 
> 
> % diff -u djtar.old djtar.c
> --- djtar.old   Fri Oct  5 15:52:50 2001
> +++ djtar.c     Wed Jan 30 11:34:41 2002
> @@ -164,7 +164,7 @@
>  {
>    CHANGE *c;
>    for (c=change_root; c; c=c->next)
> -    fprintf(change_file, "%s -> %s\n", c->old, c->new);
> +    fprintf(change_file, "%s %s\n", c->old, c->new);
>  }

And what about "Program files -> My Program Files"?


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019