mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Got rid of a few more NeXT ifdefs. The last, I think.
This commit is contained in:
parent
e75bfde7e9
commit
4892f2406f
5 changed files with 1 additions and 113 deletions
|
@ -24,15 +24,8 @@ mkpwent(struct passwd *p)
|
|||
"(ssllsss)",
|
||||
p->pw_name,
|
||||
p->pw_passwd,
|
||||
#if defined(NeXT) && defined(_POSIX_SOURCE) && defined(__LITTLE_ENDIAN__)
|
||||
/* Correct a bug present on Intel machines in NextStep 3.2 and 3.3;
|
||||
for later versions you may have to remove this */
|
||||
(long)p->pw_short_pad1, /* ugh-NeXT broke the padding */
|
||||
(long)p->pw_short_pad2,
|
||||
#else
|
||||
(long)p->pw_uid,
|
||||
(long)p->pw_gid,
|
||||
#endif
|
||||
p->pw_gecos,
|
||||
p->pw_dir,
|
||||
p->pw_shell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue