Skip to content
Snippets Groups Projects
Commit 22147ba4 authored by John Morrissey's avatar John Morrissey
Browse files

sync comment with new PW_BUF_SIZE

parent 1b0b135f
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 65536 #define PW_BUF_SIZE 65536
......
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