git/perl
Abhijit Menon-Sen 108c2aaf79 Git.pm: localise $? in command_close_bidi_pipe()
Git::DESTROY calls _close_cat_blob and _close_hash_and_insert_object,
which in turn call command_close_bidi_pipe, which calls waitpid, which
alters $?. If this happens during global destruction, it may alter the
program's exit status unexpectedly. Making $? local to the function
solves the problem.

(The problem was discovered due to a failure of test #8 in
t9106-git-svn-commit-diff-clobber.sh.)

Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-08-04 21:51:17 -07:00
..
.gitignore Make perl/ build procedure ActiveState friendly. 2006-12-04 13:39:32 -08:00
Git.pm Git.pm: localise $? in command_close_bidi_pipe() 2008-08-04 21:51:17 -07:00
Makefile perl/Makefile: update NO_PERL_MAKEMAKER section 2008-07-25 00:08:56 -07:00
Makefile.PL Don't cache DESTDIR in perl/perl.mak. 2007-12-11 00:38:46 -08:00
private-Error.pm Assorted typo fixes 2007-02-03 21:49:54 -08:00