[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32proc.c
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32proc.c |
Date: |
Sun, 14 Jul 2002 20:01:01 -0400 |
Index: emacs/src/w32proc.c
diff -c emacs/src/w32proc.c:1.51 emacs/src/w32proc.c:1.52
*** emacs/src/w32proc.c:1.51 Fri May 3 16:35:38 2002
--- emacs/src/w32proc.c Sun Jul 14 20:00:37 2002
***************
*** 760,766 ****
}
/* make sure argv[0] and cmdname are both in DOS format */
! cmdname = XSTRING (program)->data;
unixtodos_filename (cmdname);
argv[0] = cmdname;
--- 760,766 ----
}
/* make sure argv[0] and cmdname are both in DOS format */
! cmdname = SDATA (program);
unixtodos_filename (cmdname);
argv[0] = cmdname;
***************
*** 784,790 ****
strcpy (cmdname, egetenv ("CMDPROXY"));
else
{
! strcpy (cmdname, XSTRING (Vinvocation_directory)->data);
strcat (cmdname, "cmdproxy.exe");
}
unixtodos_filename (cmdname);
--- 784,790 ----
strcpy (cmdname, egetenv ("CMDPROXY"));
else
{
! strcpy (cmdname, SDATA (Vinvocation_directory));
strcat (cmdname, "cmdproxy.exe");
}
unixtodos_filename (cmdname);
***************
*** 1723,1729 ****
filename = Fexpand_file_name (filename, Qnil);
/* luckily, this returns the short version of each element in the path. */
! if (GetShortPathName (XSTRING (filename)->data, shortname, MAX_PATH) == 0)
return Qnil;
CORRECT_DIR_SEPS (shortname);
--- 1723,1729 ----
filename = Fexpand_file_name (filename, Qnil);
/* luckily, this returns the short version of each element in the path. */
! if (GetShortPathName (SDATA (filename), shortname, MAX_PATH) == 0)
return Qnil;
CORRECT_DIR_SEPS (shortname);
***************
*** 1747,1753 ****
/* first expand it. */
filename = Fexpand_file_name (filename, Qnil);
! if (!w32_get_long_filename (XSTRING (filename)->data, longname, MAX_PATH))
return Qnil;
CORRECT_DIR_SEPS (longname);
--- 1747,1753 ----
/* first expand it. */
filename = Fexpand_file_name (filename, Qnil);
! if (!w32_get_long_filename (SDATA (filename), longname, MAX_PATH))
return Qnil;
CORRECT_DIR_SEPS (longname);
- [Emacs-diffs] Changes to emacs/src/w32proc.c,
Ken Raeburn <=