summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-06 15:54:25 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-06 15:54:25 (GMT)
commit5a509ab6ae8870cce010a1de509508bc26095644 (patch)
tree71932438c8c16ff42ccc185d7dd87611acb6d0f0 /Utilities
parent76f8504596c9b7c80458e72d514372a6e9d48d6b (diff)
downloadCMake-5a509ab6ae8870cce010a1de509508bc26095644.zip
CMake-5a509ab6ae8870cce010a1de509508bc26095644.tar.gz
CMake-5a509ab6ae8870cce010a1de509508bc26095644.tar.bz2
libarchive: Fix get(pw|gr)name_r comment
The commit "libarchive: Define _XOPEN_SOURCE for get(pwu|grg)id_r" introduced a comment referring to get(pwu|grg)id_r in a source file that actually uses the functions get(pw|gr)name_r. We fix the comment.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_write_disk_set_standard_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_disk_set_standard_lookup.c b/Utilities/cmlibarchive/libarchive/archive_write_disk_set_standard_lookup.c
index 2869fb2..97828f6 100644
--- a/Utilities/cmlibarchive/libarchive/archive_write_disk_set_standard_lookup.c
+++ b/Utilities/cmlibarchive/libarchive/archive_write_disk_set_standard_lookup.c
@@ -24,7 +24,7 @@
*/
#ifndef _XOPEN_SOURCE
-# define _XOPEN_SOURCE 500 /* getpwuid_r and getgrgid_r signatures */
+# define _XOPEN_SOURCE 500 /* getpwnam_r and getgrnam_r signatures */
#endif
#include "archive_platform.h"