On Fri, Aug 01, 2003 at 09:57:15AM -0700, Wayne Davison wrote: > On Fri, Aug 01, 2003 at 01:51:53AM -0700, jw schultz wrote: > > If for some reason they specify > > --suffix=~ --backup-dir=../foo > > it should create the backup files with the requested suffix. > > Yes, I totally agree. Fortunately, that's what the code does. > > > We want to send the suffix if they specified one even if they > > specified the default. > > No, there's no need to do that. What you're missing is that the default > is "" when they specified --backup-dir, so the code only sends the > suffix if it is not a null string in that case. If they specified > --suffix=~, it gets sent when --backup-dir was specified. (We don't > send '~' only when --backup-dir was _not_ specified.)
Doh! Sorry, i'll go bang my head agaist the wall now. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html