[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c |
Date: |
Fri, 21 Mar 2003 00:44:56 -0500 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.477 emacs/src/fileio.c:1.478
*** emacs/src/fileio.c:1.477 Fri Mar 21 00:40:53 2003
--- emacs/src/fileio.c Fri Mar 21 00:44:55 2003
***************
*** 1289,1308 ****
if (IS_DIRECTORY_SEP (nm[1]))
{
if (strcmp (nm, SDATA (name)) != 0)
! name
! = make_specified_string (nm, -1, strlen (nm),
! STRING_MULTIBYTE (name));
}
else
#endif
/* drive must be set, so this is okay */
if (strcmp (nm - 2, SDATA (name)) != 0)
{
! name
! = make_specified_string (nm - 2, -1, p - nm + 2,
! STRING_MULTIBYTE (name));
! SSET (name, 0, DRIVE_LETTER (drive));
! SSET (name, 1, ':');
}
return name;
#else /* not DOS_NT */
--- 1289,1308 ----
if (IS_DIRECTORY_SEP (nm[1]))
{
if (strcmp (nm, SDATA (name)) != 0)
! name = make_specified_string (nm, -1, strlen (nm),
! STRING_MULTIBYTE (name));
}
else
#endif
/* drive must be set, so this is okay */
if (strcmp (nm - 2, SDATA (name)) != 0)
{
! char temp[] = " :";
!
! name = make_specified_string (nm, -1, p - nm,
! STRING_MULTIBYTE (name));
! temp[0] = DRIVE_LETTER (drive);
! name = concat2 (build_string (temp), name);
}
return name;
#else /* not DOS_NT */