Mercurial > hg > xemacs-beta
diff src/mule-mcpath.c @ 440:8de8e3f6228a r21-2-28
Import from CVS: tag r21-2-28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:33:38 +0200 |
parents | 697ef44129c6 |
children |
line wrap: on
line diff
--- a/src/mule-mcpath.c Mon Aug 13 11:32:27 2007 +0200 +++ b/src/mule-mcpath.c Mon Aug 13 11:33:38 2007 +0200 @@ -32,7 +32,7 @@ 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 @@ 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 @@ 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 @@ 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) {