1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11/login.app/files/patch-ac
Maxim Sobolev 072be54a75 - Update to 2.0.0.a7;
- make it PREFIX, X11BASE and LOCALBASE clean;
- adjust default font, so login.app should work OOB;
- new MASTER_SITE and WWW;
- make GNUstep theme default theme instead of Linux one (it's nasty to see
  big `LINUX' letters on FreeBSD login screen ;);
- adjust scripts, so `Restart' and `Power-off' buttons work just OOB.

Update prompted by:	Thomas Spreng <spreng@iamexwi.unibe.ch>
2000-12-14 09:01:23 +00:00

26 lines
496 B
Plaintext

--- switchuser.c 2000/12/13 19:53:23 1.1
+++ switchuser.c 2000/12/13 20:23:40
@@ -77,7 +77,7 @@
char* correct;
struct passwd *pw;
#ifdef SHADOW_PASSWD
- struct spwd* sp;
+ struct passwd* sp;
#endif
pw = getpwnam(username);
@@ -87,10 +87,10 @@
}
#ifdef SHADOW_PASSWD
- sp = getspnam(pw->pw_name);
- endspent();
+ sp = getpwnam(pw->pw_name);
+ endpwent();
if(sp) {
- correct = sp->sp_pwdp;
+ correct = sp->pw_passwd;
}
else
#endif