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;
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)
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)
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)
{
#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")