diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-05-25 17:24:33 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-05-25 17:24:33 +0300 |
commit | adc846ad48022aa43a0ac6f9aec504d2d7710cf7 (patch) | |
tree | 0a6ba3460b1775caff82b3f7b7a5e64e31c30975 /lib-src | |
parent | b15c63952f161dadd24fe96ae58ef22124fac6eb (diff) | |
download | emacs-adc846ad48022aa43a0ac6f9aec504d2d7710cf7.tar.gz |
Fix last change in etags.c that broke tagging compresed files
* lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
quoting of decompression shell command for MS-Windows/MS-DOS.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/etags.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 301dd3d8c0c..4b99e392728 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -1565,8 +1565,13 @@ process_file_name (char *file, language *lang) inf = NULL; else { +#if MSDOS || defined (DOS_NT) + char *cmd1 = concat (compr->command, " \"", real_name); + char *cmd = concat (cmd1, "\" > ", tmp_name); +#else char *cmd1 = concat (compr->command, " '", real_name); char *cmd = concat (cmd1, "' > ", tmp_name); +#endif free (cmd1); int tmp_errno; if (system (cmd) == -1) |