aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2017-09-25 11:16:05 -0700
committerPaul Eggert2017-09-25 11:16:05 -0700
commit0c06b93c1e467debd401eb0b3be4652fde14fa95 (patch)
tree9fac5e948a58a4526dcc5ce6160b48197ea03f7d /lib-src
parentc4e6ff097c946b46e3a659982c61e25093bde1a7 (diff)
parent96aaeaaffac8a93d9c8126ba77ad217a3f323fce (diff)
downloademacs-0c06b93c1e467debd401eb0b3be4652fde14fa95.tar.gz
emacs-0c06b93c1e467debd401eb0b3be4652fde14fa95.zip
Merge from origin/emacs-26
96aaeaaffa ; * src/lcms.c: Minor stylistic changes in comments. c3df816585 Fix compilation warning in etags.c 5490ccc5eb Add lisp variable lcms-d65-xyz dee96f4a17 * lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (b... 12e864eb30 Avoid MinGW64 compiler warnings in unexw32.c 625cee5316 Start emacs-26 release branch # Conflicts: # README # configure.ac # msdos/sed2v2.inp # nt/README.W32
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c16
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;