mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
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.
This commit is contained in:
parent
b15c63952f
commit
adc846ad48
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue