From 2fdcc7d7981578df3a289fafcf768b6705897933 Mon Sep 17 00:00:00 2001 From: tomo Date: Tue, 2 May 2000 08:52:41 +0000 Subject: [PATCH] XEmacs 21.2.28 "Hermes". --- src/mule-mcpath.c | 10 +++++----- src/s/msdos.h | 5 ----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/mule-mcpath.c b/src/mule-mcpath.c index ce7d257..9ab81a6 100644 --- a/src/mule-mcpath.c +++ b/src/mule-mcpath.c @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ Lisp_Object Qpathname_coding_system = 0; static void -mcpath_encode_code (struct Lisp_Coding_System *cp) +mcpath_encode_code (Lisp_Coding_System *cp) { Lisp_Object coding_system; @@ -46,7 +46,7 @@ static int mule_encode_path_1 (unsigned char *src, unsigned int srcsize, unsigned char *dst, unsigned int dstsize) { - struct Lisp_Coding_System code; + Lisp_Coding_System code; mcpath_encode_code (&code); if (CODE_TYPE (&code) > MULE_AUTOCONV) @@ -76,7 +76,7 @@ static unsigned char * mule_decode_path_1 (unsigned char *src, unsigned char *dst, unsigned int dstsize) { - struct Lisp_Coding_System code; + Lisp_Coding_System code; mcpath_encode_code (&code); if (CODE_TYPE (&code) > MULE_AUTOCONV) @@ -239,13 +239,13 @@ unsigned char * mc_getwd (unsigned char path[]) { unsigned char *p; - + p = getwd (path); if (p) { unsigned char buffer[MC_MAXPATHLEN]; int len; - + len = mule_encode_path_1 (path, strlen (path) + 1, buffer, sizeof buffer); if (len > 0) { diff --git a/src/s/msdos.h b/src/s/msdos.h index 5f857c3..ad8694a 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h @@ -189,11 +189,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ #define tzset init_gettimeofday #endif -/* bcopy under djgpp is quite safe */ -#define GAP_USE_BCOPY -#define BCOPY_UPWARD_SAFE 1 -#define BCOPY_DOWNWARD_SAFE 1 - /* Mode line description of a buffer's type. */ #define MODE_LINE_BINARY_TEXT(buf) (NILP(buf->buffer_file_type) ? "T" : "B") -- 1.7.10.4