File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1+ --- a/mozc/src/base/system_util.cc
2+ +++ b/mozc/src/base/system_util.cc
3+ @@ -526,7 +526,11 @@ std::string SystemUtil::GetUserNameAsStr
4+ DCHECK_NE(FALSE, result);
5+ return win32::WideToUtf8(wusername);
6+ #else // _WIN32
7+ + #if defined(__linux__) && !defined(__GLIBC__)
8+ + const int bufsize = 1024;
9+ + #else
10+ const int bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);
11+ + #endif
12+ CHECK_NE(bufsize, -1);
13+ absl::FixedArray<char> buf(bufsize);
14+ struct passwd pw, *ppw;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ reverts="2.32.5851.102_1"
44# src/data/version/mozc_version_template.bzl
55# revision is always 102, template always says 100 ;)
66version=2.31.5851.102
7- revision=1
7+ revision=2
88_commit=6a2e6e292efe4c2048e0c86b0818a4897c4aa5b7
99_abseil=20250512.0
1010_protobuf_commit=74211c0dfc2777318ab53c2cd2c317a2ef9012de
You can’t perform that action at this time.
0 commit comments