[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLOBAL 5.9.5 DOS/Win Patch
From: |
Shigio YAMAGUCHI |
Subject: |
Re: GLOBAL 5.9.5 DOS/Win Patch |
Date: |
Thu, 19 May 2011 17:00:06 +0900 |
> 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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3