Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
03e8ffa3
Kaydet (Commit)
03e8ffa3
authored
30 years ago
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
patches for NeXT weirdness
üst
f5c6d47e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
grpmodule.c
Modules/grpmodule.c
+6
-0
pwdmodule.c
Modules/pwdmodule.c
+7
-0
No files found.
Modules/grpmodule.c
Dosyayı görüntüle @
03e8ffa3
...
...
@@ -49,7 +49,13 @@ static object *mkgrent(p)
v
=
mkvalue
(
"(sslO)"
,
p
->
gr_name
,
p
->
gr_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
->
gr_short_pad
,
/* ugh-NeXT broke the padding */
#else
(
long
)
p
->
gr_gid
,
#endif
w
);
DECREF
(
w
);
return
v
;
...
...
This diff is collapsed.
Click to expand it.
Modules/pwdmodule.c
Dosyayı görüntüle @
03e8ffa3
...
...
@@ -36,8 +36,15 @@ static object *mkpwent(p)
return
mkvalue
(
"(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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment