X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=quote.c;h=04557833a561b4613a511af8fb9f0fb18b36b2fa;hb=65c6a4696a760f518c9f262705de030323c11146;hp=919d0920abfc0bd2becbcc35fd065514b9651281;hpb=fe61935007b6803ce116e233316e4ff51de02be6;p=git.git diff --git a/quote.c b/quote.c index 919d0920a..04557833a 100644 --- a/quote.c +++ b/quote.c @@ -131,7 +131,8 @@ static signed char const sq_lookup[256] = { /* 0x80 */ /* set to 0 */ }; -static inline int sq_must_quote(char c) { +static inline int sq_must_quote(char c) +{ return sq_lookup[(unsigned char)c] + quote_path_fully > 0; }