mirror of https://github.com/python/cpython
Minor formatting changes.
This commit is contained in:
parent
43d68b8fb0
commit
bab218e420
|
@ -40,21 +40,22 @@ static PyObject *
|
||||||
mkpwent(p)
|
mkpwent(p)
|
||||||
struct passwd *p;
|
struct passwd *p;
|
||||||
{
|
{
|
||||||
return Py_BuildValue("(ssllsss)",
|
return Py_BuildValue(
|
||||||
p->pw_name,
|
"(ssllsss)",
|
||||||
p->pw_passwd,
|
p->pw_name,
|
||||||
|
p->pw_passwd,
|
||||||
#if defined(NeXT) && defined(_POSIX_SOURCE) && defined(__LITTLE_ENDIAN__)
|
#if defined(NeXT) && defined(_POSIX_SOURCE) && defined(__LITTLE_ENDIAN__)
|
||||||
/* Correct a bug present on Intel machines in NextStep 3.2 and 3.3;
|
/* Correct a bug present on Intel machines in NextStep 3.2 and 3.3;
|
||||||
for later versions you may have to remove this */
|
for later versions you may have to remove this */
|
||||||
(long)p->pw_short_pad1, /* ugh-NeXT broke the padding */
|
(long)p->pw_short_pad1, /* ugh-NeXT broke the padding */
|
||||||
(long)p->pw_short_pad2,
|
(long)p->pw_short_pad2,
|
||||||
#else
|
#else
|
||||||
(long)p->pw_uid,
|
(long)p->pw_uid,
|
||||||
(long)p->pw_gid,
|
(long)p->pw_gid,
|
||||||
#endif
|
#endif
|
||||||
p->pw_gecos,
|
p->pw_gecos,
|
||||||
p->pw_dir,
|
p->pw_dir,
|
||||||
p->pw_shell);
|
p->pw_shell);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
Loading…
Reference in New Issue