projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.20 "Yoko".
[chise/xemacs-chise.git.1]
/
src
/
dired.c
diff --git
a/src/dired.c
b/src/dired.c
index
472133e
..
e247ac5
100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-558,7
+558,7
@@
These are all user names which begin with USER.
}
struct user_cache {
}
struct user_cache {
- char **data;
+ Bufbyte **data;
int length;
int size;
EMACS_TIME last_rebuild_time;
int length;
int size;
EMACS_TIME last_rebuild_time;
@@
-634,9
+634,10
@@
user_name_completion (Lisp_Object user, int all_flag, int *uniq)
Bufbyte *pwuser;
QUIT;
DO_REALLOC (user_cache.data, user_cache.size,
Bufbyte *pwuser;
QUIT;
DO_REALLOC (user_cache.data, user_cache.size,
- user_cache.length + 1, char *);
+ user_cache.length + 1, Bufbyte *);
GET_C_CHARPTR_INT_DATA_ALLOCA (pwd->pw_name, FORMAT_OS, pwuser);
GET_C_CHARPTR_INT_DATA_ALLOCA (pwd->pw_name, FORMAT_OS, pwuser);
- user_cache.data[user_cache.length++] = xstrdup (pwuser);
+ user_cache.data[user_cache.length++] =
+ (Bufbyte *) xstrdup ((char *) pwuser);
}
endpwent ();
speed_up_interrupts ();
}
endpwent ();
speed_up_interrupts ();