tgetflags: use shell quoting - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c54202e5776f228276ec95e6befcceda92fe2042
(DIR) parent a6ba36b663ae4903ef5cc692570af15a7fcf4fcc
(HTM) Author: Anthony Martin <ality@pbrane.org>
Date: Thu, 7 Oct 2010 03:35:43 -0400
getflags: use shell quoting
R=rsc
CC=codebot
http://codereview.appspot.com/2065042
Diffstat:
M src/cmd/getflags.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/cmd/getflags.c b/src/cmd/getflags.c
t@@ -43,6 +43,7 @@ main(int argc, char *argv[])
int i, n;
Fmt fmt;
+ doquote = needsrcquote;
quotefmtinstall();
argv0 = argv[0]; /* for sysfatal */