author | Junio C Hamano <junkio@cox.net> | |
Tue, 31 Oct 2006 00:07:54 +0000 (16:07 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 31 Oct 2006 00:07:54 +0000 (16:07 -0800) | ||
commit | 8d63d95f297446fe110ea76d350ae15676e2ed54 | |
tree | 63ba65f877c06d239df812a9a1003eb489eb2ae1 | tree | snapshot |
parent | 4903161fb8c74bc583b21d7ffe7abaf223df4253 | commit | diff |
quote.c: ensure the same quoting across platforms.
We read a byte from "char *" and compared it with ' ' to decide
if it needs quoting to protect textual output. With a platform
where char is unsigned char that would give different result.
Signed-off-by: Junio C Hamano <junkio@cox.net>
We read a byte from "char *" and compared it with ' ' to decide
if it needs quoting to protect textual output. With a platform
where char is unsigned char that would give different result.
Signed-off-by: Junio C Hamano <junkio@cox.net>
quote.c | diff | blob | history |