Mercurial > hg > xemacs-beta
comparison nt/runemacs.c @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | 19dcec799385 |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
366:83d76f480a59 | 367:a4f53d9b3154 |
---|---|
112 return 1; | 112 return 1; |
113 } | 113 } |
114 else | 114 else |
115 { | 115 { |
116 strcat(new_cmdline, "\\"); | 116 strcat(new_cmdline, "\\"); |
117 /* #### Horrible kludge to get round 1.1.6 bug in readlink. */ | |
118 p = strrchr (real_name, '.'); | |
119 if (p[1] == 'e' || p[1] == 'E' | |
120 && p[2] == 'x' || p[2] == 'X' | |
121 && p[3] == 'e' || p[3] == 'E') | |
122 p[4] = 0; | |
117 strcat(new_cmdline, real_name); | 123 strcat(new_cmdline, real_name); |
118 strcat(new_cmdline, " "); | 124 strcat(new_cmdline, " "); |
119 } | 125 } |
120 } | 126 } |
121 else | 127 else |