diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-02-06 17:51:34 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-02-08 11:54:27 (GMT) |
commit | 8d6ad569495d389b111ab8879117cc7832287fa8 (patch) | |
tree | df508b392dbde31ef3dff13601cef825a7700164 /tools/makeqpf | |
parent | c718d992865de7015df0173c816b257d72e13f24 (diff) | |
download | Qt-8d6ad569495d389b111ab8879117cc7832287fa8.zip Qt-8d6ad569495d389b111ab8879117cc7832287fa8.tar.gz Qt-8d6ad569495d389b111ab8879117cc7832287fa8.tar.bz2 |
Make sure we use at least 1024 bytes when calling getpwuid_r.
On some systems, sysconf may return -1 to indicate that there's no
such limit (limitless), so don't create a buffer of size -1.
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'tools/makeqpf')
0 files changed, 0 insertions, 0 deletions