Date: Mon, 12 Aug 2002 16:10:04 -0700 (PDT) From: Tony Finch <dot@dotat.at> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/41583: assorted mtree bugs (+fixes) Message-ID: <200208122310.g7CNA4xh038135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/41583; it has been noted by GNATS. From: Tony Finch <dot@dotat.at> To: mike@cs.utah.edu Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/41583: assorted mtree bugs (+fixes) Date: Tue, 13 Aug 2002 00:09:04 +0100 Mike Hibler <mike@cs.utah.edu> wrote: > >1. Cannot handle filenames which start with '#'. > This one has been reported before (bin/35226, bin/41246). My "fix" is different > than the one in 35226, I just added the '-N' option which says: when creating a > spec, don't ever produce comments and when reading a spec, don't expect > comments. The aforementioned fix is probably better than mine. > >2. Cannot handle symlink values with non-standard chars. > This one has also been reported/fixed previously (bin/35454). > My fix is essentially the same. NetBSD has an improved version of strvis() which their mtree() uses, which we should perhaps have a closer look at. I looked at it recently, and I think it fixes your problem #1 (at the expense of backslash-escaping hashes everywhere) but it doesn't fix #2 -- but that should be easy to do. Tony. -- f.a.n.finch <dot@dotat.at> http://dotat.at/ FAIR ISLE SOUTH FAEROES: SOUTHERLY OR SOUTHWESTERLY 4 OR 5, OCCASIONALLY 6, BECOMING VARIABLE 3 IN SOUTHEAST FAIR ISLE. RAIN OR SHOWERS. MODERATE OR GOOD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208122310.g7CNA4xh038135>