Code

quote.c: ensure the same quoting across platforms.
authorJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 00:07:54 +0000 (16:07 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 00:07:54 +0000 (16:07 -0800)
commit8d63d95f297446fe110ea76d350ae15676e2ed54
tree63ba65f877c06d239df812a9a1003eb489eb2ae1
parent4903161fb8c74bc583b21d7ffe7abaf223df4253
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>
quote.c