HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lisp/menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
[bpt/emacs.git]
/
src
/
msdos.c
diff --git
a/src/msdos.c
b/src/msdos.c
index
5174bc4
..
527a75c
100644
(file)
--- a/
src/msdos.c
+++ b/
src/msdos.c
@@
-3339,7
+3339,7
@@
void msdos_downcase_filename (unsigned char *);
/* Destructively turn backslashes into slashes. */
void
/* Destructively turn backslashes into slashes. */
void
-dostounix_filename (char *p)
+dostounix_filename (char *p
, int ignore
)
{
msdos_downcase_filename (p);
{
msdos_downcase_filename (p);
@@
-3603,7
+3603,7
@@
init_environment (int argc, char **argv, int skip_args)
if (!s) s = "c:/command.com";
t = alloca (strlen (s) + 1);
strcpy (t, s);
if (!s) s = "c:/command.com";
t = alloca (strlen (s) + 1);
strcpy (t, s);
- dostounix_filename (t);
+ dostounix_filename (t
, 0
);
setenv ("SHELL", t, 0);
/* PATH is also downcased and backslashes mirrored. */
setenv ("SHELL", t, 0);
/* PATH is also downcased and backslashes mirrored. */
@@
-3613,7
+3613,7
@@
init_environment (int argc, char **argv, int skip_args)
/* Current directory is always considered part of MsDos's path but it is
not normally mentioned. Now it is. */
strcat (strcpy (t, ".;"), s);
/* Current directory is always considered part of MsDos's path but it is
not normally mentioned. Now it is. */
strcat (strcpy (t, ".;"), s);
- dostounix_filename (t); /* Not a single file name, but this should work. */
+ dostounix_filename (t
, 0
); /* Not a single file name, but this should work. */
setenv ("PATH", t, 1);
/* In some sense all dos users have root privileges, so... */
setenv ("PATH", t, 1);
/* In some sense all dos users have root privileges, so... */
@@
-3957,14
+3957,6
@@
careadlinkat (int fd, char const *filename,
return buffer;
}
return buffer;
}
-ssize_t
-careadlinkatcwd (int fd, char const *filename, char *buffer,
- size_t buffer_size)
-{
- (void) fd;
- return readlink (filename, buffer, buffer_size);
-}
-
\f
#if __DJGPP__ == 2 && __DJGPP_MINOR__ < 2
\f
#if __DJGPP__ == 2 && __DJGPP_MINOR__ < 2