diff options
| author | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
| commit | d5db40779d7505244d37476b4f046641f07eea2b (patch) | |
| tree | 5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/w32proc.c | |
| parent | 491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff) | |
| download | emacs-d5db40779d7505244d37476b4f046641f07eea2b.tar.gz emacs-d5db40779d7505244d37476b4f046641f07eea2b.zip | |
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
Diffstat (limited to 'src/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index b94e5cca53c..a44a326caf9 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -760,7 +760,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) | |||
| 760 | } | 760 | } |
| 761 | 761 | ||
| 762 | /* make sure argv[0] and cmdname are both in DOS format */ | 762 | /* make sure argv[0] and cmdname are both in DOS format */ |
| 763 | cmdname = XSTRING (program)->data; | 763 | cmdname = SDATA (program); |
| 764 | unixtodos_filename (cmdname); | 764 | unixtodos_filename (cmdname); |
| 765 | argv[0] = cmdname; | 765 | argv[0] = cmdname; |
| 766 | 766 | ||
| @@ -784,7 +784,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) | |||
| 784 | strcpy (cmdname, egetenv ("CMDPROXY")); | 784 | strcpy (cmdname, egetenv ("CMDPROXY")); |
| 785 | else | 785 | else |
| 786 | { | 786 | { |
| 787 | strcpy (cmdname, XSTRING (Vinvocation_directory)->data); | 787 | strcpy (cmdname, SDATA (Vinvocation_directory)); |
| 788 | strcat (cmdname, "cmdproxy.exe"); | 788 | strcat (cmdname, "cmdproxy.exe"); |
| 789 | } | 789 | } |
| 790 | unixtodos_filename (cmdname); | 790 | unixtodos_filename (cmdname); |
| @@ -1723,7 +1723,7 @@ All path elements in FILENAME are converted to their short names. */) | |||
| 1723 | filename = Fexpand_file_name (filename, Qnil); | 1723 | filename = Fexpand_file_name (filename, Qnil); |
| 1724 | 1724 | ||
| 1725 | /* luckily, this returns the short version of each element in the path. */ | 1725 | /* luckily, this returns the short version of each element in the path. */ |
| 1726 | if (GetShortPathName (XSTRING (filename)->data, shortname, MAX_PATH) == 0) | 1726 | if (GetShortPathName (SDATA (filename), shortname, MAX_PATH) == 0) |
| 1727 | return Qnil; | 1727 | return Qnil; |
| 1728 | 1728 | ||
| 1729 | CORRECT_DIR_SEPS (shortname); | 1729 | CORRECT_DIR_SEPS (shortname); |
| @@ -1747,7 +1747,7 @@ All path elements in FILENAME are converted to their long names. */) | |||
| 1747 | /* first expand it. */ | 1747 | /* first expand it. */ |
| 1748 | filename = Fexpand_file_name (filename, Qnil); | 1748 | filename = Fexpand_file_name (filename, Qnil); |
| 1749 | 1749 | ||
| 1750 | if (!w32_get_long_filename (XSTRING (filename)->data, longname, MAX_PATH)) | 1750 | if (!w32_get_long_filename (SDATA (filename), longname, MAX_PATH)) |
| 1751 | return Qnil; | 1751 | return Qnil; |
| 1752 | 1752 | ||
| 1753 | CORRECT_DIR_SEPS (longname); | 1753 | CORRECT_DIR_SEPS (longname); |