From 5a509ab6ae8870cce010a1de509508bc26095644 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 6 Nov 2009 10:54:25 -0500 Subject: [PATCH] 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. --- .../libarchive/archive_write_disk_set_standard_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2869fb202..97828f68b 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"