X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Wed, 30 Jan 2002 11:44:09 -0600 From: JT Williams To: djgpp-workers AT delorie DOT com Subject: djtar patch Message-ID: <20020130114409.D4099@kendall.sfbr.org> Mail-Followup-To: djgpp-workers AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Reply-To: djgpp-workers AT delorie DOT com 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); } int