On Tue, Mar 31, 2009 at 08:55:00AM -0700, Junio C Hamano wrote:OK, I see. Thanks for the explanation. So the test is wrong, since it explicitly checks for g+s, and we only need it sometimes. Yes, you can ask just fine now: $ uname -sr FreeBSD 6.1-RELEASE-p17-jc1 $ mkdir foo $ ls -ld foo drwxr-xr-x 2 peff peff 512 Mar 31 09:04 foo/ $ chmod g+s foo $ ls -ld foo drwxr-sr-x 2 peff peff 512 Mar 31 09:04 foo/ But it isn't necessary. Shouldn't that just be: perl -e 'sub group { return (stat(shift))[5] }' \ -e 'exit group($ARGV[0]) == group($ARGV[1]) ? 0 : 1' \ a b ? -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Stephen Rothwell | Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| David Miller | Re: [PATCH 3/3] Convert the UDP hash lock to RCU |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
