12 #if __VMS_VER < 70200000 || __DECC_VER < 50700000
14 static struct passwd pw;
16 /* This is only called from one relevant place, lock.c. In that context
17 the code is really trying to figure out who owns a directory. Nothing
18 which has anything to do with getpwuid or anything of the sort can help
19 us on VMS (getuid returns only the group part of the UIC). */
20 struct passwd *getpwuid(unsigned int uid)
27 static char login[256];
28 return cuserid(login);
31 #else /* __VMS_VER >= 70200000 && __DECC_VER >= 50700000 */
32 #pragma message disable EMPTYFILE
33 #endif /* __VMS_VER >= 70200000 && __DECC_VER >= 50700000 */