diff options
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) | |||
| 1565 | inf = NULL; | 1565 | inf = NULL; |
| 1566 | else | 1566 | else |
| 1567 | { | 1567 | { |
| 1568 | #if MSDOS || defined (DOS_NT) | ||
| 1569 | char *cmd1 = concat (compr->command, " \"", real_name); | ||
| 1570 | char *cmd = concat (cmd1, "\" > ", tmp_name); | ||
| 1571 | #else | ||
| 1568 | char *cmd1 = concat (compr->command, " '", real_name); | 1572 | char *cmd1 = concat (compr->command, " '", real_name); |
| 1569 | char *cmd = concat (cmd1, "' > ", tmp_name); | 1573 | char *cmd = concat (cmd1, "' > ", tmp_name); |
| 1574 | #endif | ||
| 1570 | free (cmd1); | 1575 | free (cmd1); |
| 1571 | int tmp_errno; | 1576 | int tmp_errno; |
| 1572 | if (system (cmd) == -1) | 1577 | if (system (cmd) == -1) |