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)
{