/[emacs]/emacs/src/fileio.c
ViewVC logotype

Diff of /emacs/src/fileio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.477 by handa, Fri Mar 21 05:40:53 2003 UTC revision 1.478 by handa, Fri Mar 21 05:44:55 2003 UTC
# Line 1289  See also the function `substitute-in-fil Line 1289  See also the function `substitute-in-fil
1289            if (IS_DIRECTORY_SEP (nm[1]))            if (IS_DIRECTORY_SEP (nm[1]))
1290              {              {
1291                if (strcmp (nm, SDATA (name)) != 0)                if (strcmp (nm, SDATA (name)) != 0)
1292                  name                  name = make_specified_string (nm, -1, strlen (nm),
1293                    = make_specified_string (nm, -1, strlen (nm),                                                STRING_MULTIBYTE (name));
                                            STRING_MULTIBYTE (name));  
1294              }              }
1295            else            else
1296  #endif  #endif
1297            /* drive must be set, so this is okay */            /* drive must be set, so this is okay */
1298            if (strcmp (nm - 2, SDATA (name)) != 0)            if (strcmp (nm - 2, SDATA (name)) != 0)
1299              {              {
1300                name                char temp[] = " :";
1301                  = make_specified_string (nm - 2, -1, p - nm + 2,  
1302                                           STRING_MULTIBYTE (name));                name = make_specified_string (nm, -1, p - nm,
1303                SSET (name, 0, DRIVE_LETTER (drive));                                              STRING_MULTIBYTE (name));
1304                SSET (name, 1, ':');                temp[0] = DRIVE_LETTER (drive);
1305                  name = concat2 (build_string (temp), name);
1306              }              }
1307            return name;            return name;
1308  #else /* not DOS_NT */  #else /* not DOS_NT */

Legend:
Removed from v.1.477  
changed lines
  Added in v.1.478

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26