diff options
Diffstat (limited to 'Modules/pwdmodule.c')
-rw-r--r-- | Modules/pwdmodule.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index 1efe81a..7f58ed3 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c @@ -29,13 +29,6 @@ exception is raised if the entry asked for cannot be found."; static PyObject * mkpwent(struct passwd *p) { -#ifdef __BEOS__ - /* For faking the GECOS field. - [cjh] */ - char *be_user = NULL; - - be_user = getenv( "USER" ); -#endif - return Py_BuildValue( "(ssllsss)", p->pw_name, @@ -49,12 +42,7 @@ mkpwent(struct passwd *p) (long)p->pw_uid, (long)p->pw_gid, #endif -#ifdef __BEOS__ -/* BeOS doesn't have a GECOS field, oddly enough. - [cjh] */ - be_user ? be_user : "baron", -#else p->pw_gecos, -#endif p->pw_dir, p->pw_shell); } |