| author | Thomas Schwinge <tschwinge@gnu.org> | |
| Sat, 28 Jul 2007 18:26:35 +0000 (20:26 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 29 Jul 2007 01:50:36 +0000 (18:50 -0700) | ||
| commit | 8b4aee015e2d81dc6cc53328aedc66742a5306d8 | |
| tree | ce7f5168143359b93158476e83b61f8fbae7c052 | tree | snapshot |
| parent | 12075103ddc9a061cf6f3b04feb206123bb78e2f | commit | diff |
Don't rely on unspecified behavior
Calling access(p, m) with p == NULL is not specified, so don't do that. On
GNU/Hurd systems doing so will result in a SIGSEGV.
Signed-off-by: Thomas Schwinge <tschwinge@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Calling access(p, m) with p == NULL is not specified, so don't do that. On
GNU/Hurd systems doing so will result in a SIGSEGV.
Signed-off-by: Thomas Schwinge <tschwinge@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| builtin-add.c | diff | blob | history |