Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
The problem is that the result of getpwent is just copied to the
username cache (dired.c:676):
cache[clen++] = strdup (pw->pw_name);
later on (dired.c:693) these entries are cast to Bufbyte *:
Bufbyte *d_name = (Bufbyte *) user_cache[i];
obviously these need to use one of those funky GET_CHARPTR_* macros.
Maybe somebody who understands MULE can make a patch for this.
Otherwise I will read up on MULE and send a patch next week.
Heh, I'm tempted not to fix this so you have to read up on Mule. :-)
Anyway, casting stuff to (Bufbyte *) is, as usual, bad juju. In
December I sent out a patch that Mule-izes the username completion
stuff, but it apparently hadn't got applied. The patch is available
at:
<
URL:http://www.xemacs.org/list-archives/xemacs-patches/9812/msg00053.html...