Subject: getpwuid_r, getpwnam_r and include/X11/Xos_r.h
To: None <tech-x11@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-x11
Date: 02/09/2004 16:37:28
I don't see any getpwuid_r() or getpwnam_r() with NetBSD 1.6.2.
include/X11/Xos_r.h defines some macros to use those non-existent
functions.
The code I am using has:
#ifndef WIN32
#define X_INCLUDE_PWD_H
#define XOS_USE_XLIB_LOCKING
#include <X11/Xos_r.h>
#endif
Where is _POSIX_REENTRANT_FUNCTIONS defined?
Maybe include/X11/Xos_r.h should be modified to not define these macros if
__NetBSD__?
Any comments or advice?
Jeremy C. Reed
http://www.reedmedia.net/