[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Global-commit] global/gtags-cscope Makefile.am display.c exec....
From: |
Shigio YAMAGUCHI |
Subject: |
[Global-commit] global/gtags-cscope Makefile.am display.c exec.... |
Date: |
Wed, 18 May 2011 07:54:29 +0000 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Global-commit] global/gtags-cscope Makefile.am display.c exec....,
Shigio YAMAGUCHI <=