diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-07-24 17:20:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-25 23:14:18 -0700 |
commit | 5d314759d787885c2cc389efbfb3aea1c47b56d9 (patch) | |
tree | a9b59f44086605bb44bb24f7ce2f90f61d1592f3 /Documentation/RelNotes-1.5.4.2.txt | |
parent | git-read-tree.txt: acknowledge the directory matching bug in sparse checkout (diff) | |
download | tgif-5d314759d787885c2cc389efbfb3aea1c47b56d9.tar.xz |
Cast execl*() NULL sentinels to (char *)
The NULL sentinel argument to the execl*() family of calls must be
cast to (char *), as otherwise:
- platforms where NULL is just 0 (not (void *)) would pass an int
- (admittedly esoteric) platforms where NULL is (void *)0 and (void *)
and (char *) have different memory layouts would pass the wrong kind
of pointer
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.4.2.txt')
0 files changed, 0 insertions, 0 deletions