Skip to content
Snippets Groups Projects
Commit 73f89adf authored by David Bigagli's avatar David Bigagli
Browse files

Merge pull request #68 from jwm/bug-559-comment-sync

sync comment with new PW_BUF_SIZE
parents 157e1f46 22147ba4
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
* In an ideal world, we could use sysconf(_SC_GETPW_R_SIZE_MAX) to get the * In an ideal world, we could use sysconf(_SC_GETPW_R_SIZE_MAX) to get the
* maximum buffer size neede for getpwnam_r(), but if there is no maximum * maximum buffer size neede for getpwnam_r(), but if there is no maximum
* value configured, the value returned is 1024, which can too small. * value configured, the value returned is 1024, which can too small.
* Diito for _SC_GETGR_R_SIZE_MAX. Use 64k byte buffer by default. * Diito for _SC_GETGR_R_SIZE_MAX.
*/ */
#define PW_BUF_SIZE 524288 #define PW_BUF_SIZE 524288
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment