Merged changes from 1.0 branch, including Japanese keyboard

support (thanks to Kazuhide Takahashi).
This commit is contained in:
crs
2003-09-28 11:58:38 +00:00
parent 175843b4fb
commit fa215f1b13
3 changed files with 6 additions and 2 deletions

View File

@@ -56,6 +56,9 @@ CArchFileUnix::getUserDirectory()
struct passwd* pwentp;
#if defined(_SC_GETPW_R_SIZE_MAX)
long size = sysconf(_SC_GETPW_R_SIZE_MAX);
if (size == -1) {
size = BUFSIZ;
}
#else
long size = BUFSIZ;
#endif