Eric Blake wrote: > Jim Meyering <jim <at> meyering.net> writes: >> If I'd known this was coming so quickly, I would have delayed >> making the coreutils snapshot. >> >> Let me know when you're done: maybe I'll make one more >> before the release. > > At least a couple more to go. I've confirmed that on FreeBSD: > > touch f > ln -s f l > link l/ g > unlink l/ > > creates g as a hard link to f, then removes f; both the link and the unlink > should have failed, since l/ is not a symlink-to-directory. Hmm, that means > coreutils' testsuite could use more trailing slash tests, so I'll add that to > my todo list. Here's what I'm currently testing on the gnulib side... > > I also suspect problems in chmod and chown, but have not had time to confirm > that yet. > >>From 120a86a14b534bf24808974967786611f16dc8c0 Mon Sep 17 00:00:00 2001 > From: Eric Blake <e...@byu.net> > Date: Mon, 9 Nov 2009 10:44:08 -0700 > Subject: [PATCH 1/2] unlink, remove: detect FreeBSD bug ... > Subject: [PATCH 2/2] link: detect FreeBSD bug
Both look fine, though I haven't tested at all yet. Thanks for the quick work.