mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Merged changes from 1.0 branch, including Japanese keyboard
support (thanks to Kazuhide Takahashi).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user