[10571] in Athena Bugs

home help back first fref pref prev next nref lref last post

hpux patch for athena/athena.lib/hesiod/hespwnam.c

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Thu Jun 24 14:47:15 1993

From: brlewis@Athena.MIT.EDU
Date: Thu, 24 Jun 93 14:47:08 -0400
To: bugs@Athena.MIT.EDU, rel-eng@Athena.MIT.EDU

*** /tmp/,RCSt1a21556	Thu Jun 24 14:46:07 1993
--- hespwnam.c	Thu Jun 24 14:41:41 1993
***************
*** 43,54 ****
  	p = _NextPWField(p);
  	pw_entry.pw_gid = atoi(p);
  #if (!defined(_AIX) || (AIXV < 31)) && !defined(sun)
  	pw_entry.pw_quota = 0;
  #if defined(_AIX) && (AIXV < 31)
  	pw_entry.pw_age =
! #endif
  	pw_entry.pw_comment = "";
! #endif
  	p = _NextPWField(p);
  	pw_entry.pw_gecos = p;
  	p = _NextPWField(p);
--- 43,56 ----
  	p = _NextPWField(p);
  	pw_entry.pw_gid = atoi(p);
  #if (!defined(_AIX) || (AIXV < 31)) && !defined(sun)
+ #if !defined(hpux)
  	pw_entry.pw_quota = 0;
+ #endif /* hpux */
  #if defined(_AIX) && (AIXV < 31)
  	pw_entry.pw_age =
! #endif /* (AIXV < 31) */
  	pw_entry.pw_comment = "";
! #endif /* !(AIXV < 31) !defined(sun) */
  	p = _NextPWField(p);
  	pw_entry.pw_gecos = p;
  	p = _NextPWField(p);
***************
*** 55,60 ****
--- 57,65 ----
  	pw_entry.pw_dir = p;
  	p = _NextPWField(p);
  	pw_entry.pw_shell = p;
+ #ifdef hpux
+ 	pw_entry.pw_audid = pw_entry.pw_audflg = 0;
+ #endif
  	while (*p && *p != '\n')
  		p++;
  	*p = '\0';

home help back first fref pref prev next nref lref last post