author | Markus Heidelberg <markus.heidelberg@web.de> | |
Mon, 19 Jan 2009 23:43:26 +0000 (00:43 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Jan 2009 06:39:31 +0000 (22:39 -0800) | ||
commit | 35641310afa04aaa0ba5f31be6bdb2cf23ec100f | |
tree | b7c91041d8a6c9ba0bd625b25dbbb3aecd5fb193 | tree | snapshot |
parent | bc08fc4e850794c76da367bb628e508e6d41b1eb | commit | diff |
use uppercase POSIX compliant signals for the 'trap' command
In 'man 1p trap' there is written:
"Implementations may permit names with the SIG prefix or ignore case
in signal names as an extension."
So change the lowercase signals to uppercase, which is POSIX compliant
instead of being an extension.
There wasn't anybody claiming that it doesn't work, but there was a bug
with using a signal with the SIG prefix, which is an extension as well.
So let's play it safe and change it, since it doesn't hurt anyone.
While at it, also convert 8 indentation spaces to 1 tab character.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In 'man 1p trap' there is written:
"Implementations may permit names with the SIG prefix or ignore case
in signal names as an extension."
So change the lowercase signals to uppercase, which is POSIX compliant
instead of being an extension.
There wasn't anybody claiming that it doesn't work, but there was a bug
with using a signal with the SIG prefix, which is an extension as well.
So let's play it safe and change it, since it doesn't hurt anyone.
While at it, also convert 8 indentation spaces to 1 tab character.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh | diff | blob | history | |
t/test-lib.sh | diff | blob | history |