Check-in [25c96dfee9]
Overview
Comment:Normalized macro names
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:25c96dfee924b0a3c87ed2bd135323fe8d4eec48
User & Date: rkeene on 2014-02-07 21:12:26
Other Links: manifest | tags
Context
2014-02-07
21:44
Added support for becoming a daemon check-in: 82653deb02 user: rkeene tags: trunk
21:12
Normalized macro names check-in: 25c96dfee9 user: rkeene tags: trunk
21:10
Updated to support disabling getpwnam() check-in: e7dc183669 user: rkeene tags: trunk
Changes

Modified filed.c from [27db71537c] to [f6d6d04c13].

   743    743   	return;
   744    744   }
   745    745   
   746    746   /* Resolve a username to a UID */
   747    747   static int filed_user_lookup(const char *user, uid_t *user_id) {
   748    748   	char *next;
   749    749   	uid_t user_id_check;
   750         -#ifndef NO_GETPWNAM
          750  +#ifndef FILED_NO_GETPWNAM
   751    751   	struct passwd *ent;
   752    752   
   753    753   	ent = getpwnam(user);
   754    754   	if (ent != NULL) {
   755    755   		*user_id = ent->pw_uid;
   756    756   
   757    757   		return(0);