> need to test djgpp, since it handles quotes itself.  And why not use a
> character rather than a string?  That makes it:
> 
> >     [gtags-cscope/find.c]
> >
> >     #if defined(_WIN32) && !defined(__CYGWIN__)
> >     #define QUOTE '"'
> >     #else
> >     #define QUOTE '\''
> >     #endif
> >
> >     snprintf(comline, sizeof(comline), "%s -d %c%s%c > %s", COMMON, QUOTE, 
> > pattern, QUOTE, temp
1);

That's right.
I will use it. Thank you.
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to