Revision: arch--devo--1.0--patch-8
Archive: lord@regexps.com--2002
Creator: Tom Lord <lord@regexps.com>
Date: Tue Jan 15 01:05:36 PST 2002
Standard-date: 2002-01-15
Summary: fixed `dopatch' bugs regarding symlinks
Keywords: 
New-files: {arch}/arch/arch--devo/arch--devo--1.0/lord@regexps.com--2002/patch-log/patch-8
Modified-files: =TODO ChangeLog
  ChangeLog.d/lord@regexps.com--2002/ChangeLog.lord--1.0
  ChangeLog.d/lord@regexps.com--2002/ChangeLog.lord-doc--1.0
  patch-sets/dopatch.sh
New-patches: lord@regexps.com--2002/arch--devo--1.0--patch-8


A number of symlink-related bugs were revealed in `dopatch' while
working on trees containing symlinks to non-existent files.  This
patch fixes those.

In general:

	test -e "$file"

is false for a symlink to a non-existent file.  When such a symlink
is possible and should not be mistaken for a missing file, use:

	test -h "$file" -o -e "$file"

Also, a number of invocations of `join' had incorrect values in the
output format (`-o') argument.


