]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Jan 2010 22:15:29 +0000 (22:15 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 Jan 2010 22:15:29 +0000 (22:15 +0000)
commit3fb0d4a657ecf31c23ce617702b25326fd143e42
tree2af9d1fcbbfb016efbf407ee409d4a01256fbee1
parentc9ca7c64a74b7f98011ad526d13bcccd18a85f68
MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently

That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in
head in r199953, the latter also persisted, provided that fd 3 was not open
before.  With newer sh or fd 3 open, it would not delete orphaned catpages.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1