CVSROOT: /sources/global
Module name: global
Changes by: Shigio YAMAGUCHI <shigio> 11/05/18 07:54:29
Modified files:
gtags-cscope : Makefile.am display.c exec.c find.c
gtags-cscope.c mypopen.c
Log message:
Patch for DOS/Windows.
Submitted by Jason Hood.
About single quotes, I have modified them like follows:
since there is a possibility that command and variable substitutions
happen.
snprintf(comline, sizeof(comline), "%s -d \"%s\" > %s", COMMON,
pattern, temp1);
|
v
#if defined(__DJGPP__) || (defined(_WIN32) && !defined(__CYGWIN__))
#define QUOTE "\""
#else
#define QUOTE "'"
snprintf(comline, sizeof(comline), "%s -d %s%s%s > %s", COMMON, QUOTE,
pattern, QUOTE, temp1);
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/Makefile.am?cvsroot=global&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/display.c?cvsroot=global&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/exec.c?cvsroot=global&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/find.c?cvsroot=global&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/gtags-cscope.c?cvsroot=global&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/mypopen.c?cvsroot=global&r1=1.1&r2=1.2
_______________________________________________
Global-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/global-commit