Date: Fri, 02 Jan 2015 16:21:21 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196435] Prevent @sample keyword from removing user symlinks Message-ID: <bug-196435-13-elO8fePzIi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196435-13@https.bugs.freebsd.org/bugzilla/> References: <bug-196435-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435 --- Comment #3 from Mathieu Arnold <mat@FreeBSD.org> --- (In reply to Jan Beich from comment #2) > Created attachment 151216 [details] > v2 > > (In reply to Mathieu Arnold from comment #1) > > Also, for cmp drop the -h, we want symlinks to be followed, otherwise, it'll > > compare the content of the file with the path of the sample file, which, in > > most cases, won't be the same ;-) > > Indeed, I've traded one issue for another: > > - symlink target_file vs. regular sample_file (no filetype check) > - symlink target_file vs. symlink sample_file (no symlink path check) > - regular target_file vs. regular sample_file > - regular target_file vs. symlink sample_file > > after > > - symlink target_file vs. regular sample_file (path vs. content) > - symlink target_file vs. symlink sample_file > - regular target_file vs. regular sample_file > - regular target_file vs. symlink sample_file (path vs. content) > > Let's try to assume target_file cannot be a symlink if unmodified by user or > bug 196432 remains closed. But, hum, target_file can never be a symlink, it will always be a regular file. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196435-13-elO8fePzIi>