diff options
| author | Rasmus | 2017-09-29 10:41:51 +0200 |
|---|---|---|
| committer | Rasmus | 2017-09-29 10:41:51 +0200 |
| commit | d4b2bbdc73ace5cb0971a32a75941486489d1cc5 (patch) | |
| tree | dc92eb83d4a66f112e3688ad10632e14ca6601ff /lib-src | |
| parent | eaefbc26d5c6cffbe4a22d3a9f4c7e6209a7b5a7 (diff) | |
| parent | af130f900fc499f71ea22f10ba055a75ce35ed4e (diff) | |
| download | emacs-d4b2bbdc73ace5cb0971a32a75941486489d1cc5.tar.gz emacs-d4b2bbdc73ace5cb0971a32a75941486489d1cc5.zip | |
Merge branch 'emacs-26' into scratch/org-mode-merge
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 4000f47a414..009cba528d7 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -7068,14 +7068,16 @@ etags_mktmp (void) | |||
| 7068 | errno = temp_errno; | 7068 | errno = temp_errno; |
| 7069 | templt = NULL; | 7069 | templt = NULL; |
| 7070 | } | 7070 | } |
| 7071 | |||
| 7072 | #if defined (DOS_NT) | 7071 | #if defined (DOS_NT) |
| 7073 | /* The file name will be used in shell redirection, so it needs to have | 7072 | else |
| 7074 | DOS-style backslashes, or else the Windows shell will barf. */ | 7073 | { |
| 7075 | char *p; | 7074 | /* The file name will be used in shell redirection, so it needs to have |
| 7076 | for (p = templt; *p; p++) | 7075 | DOS-style backslashes, or else the Windows shell will barf. */ |
| 7077 | if (*p == '/') | 7076 | char *p; |
| 7078 | *p = '\\'; | 7077 | for (p = templt; *p; p++) |
| 7078 | if (*p == '/') | ||
| 7079 | *p = '\\'; | ||
| 7080 | } | ||
| 7079 | #endif | 7081 | #endif |
| 7080 | 7082 | ||
| 7081 | return templt; | 7083 | return templt; |