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
236f62da
Kaydet (Commit)
236f62da
authored
Haz 26, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Corrections to aix_loaderror(), by Manus Hand.
üst
f2150607
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
importdl.c
Python/importdl.c
+7
-5
No files found.
Python/importdl.c
Dosyayı görüntüle @
236f62da
...
@@ -493,7 +493,7 @@ load_dynamic_module(name, pathname, fp)
...
@@ -493,7 +493,7 @@ load_dynamic_module(name, pathname, fp)
void
aix_loaderror
(
char
*
pathname
)
void
aix_loaderror
(
char
*
pathname
)
{
{
char
*
message
[
8
],
errbuf
[
1024
];
char
*
message
[
1024
],
errbuf
[
1024
];
int
i
,
j
;
int
i
,
j
;
struct
errtab
{
struct
errtab
{
...
@@ -509,7 +509,7 @@ void aix_loaderror(char *pathname)
...
@@ -509,7 +509,7 @@ void aix_loaderror(char *pathname)
{
L_ERROR_MEMBER
,
{
L_ERROR_MEMBER
,
"file not an archive or does not contain requested member:"
},
"file not an archive or does not contain requested member:"
},
{
L_ERROR_TYPE
,
"symbol table mismatch:"
},
{
L_ERROR_TYPE
,
"symbol table mismatch:"
},
{
L_ERROR_ALIGN
,
"text al
l
ignment in file is wrong."
},
{
L_ERROR_ALIGN
,
"text alignment in file is wrong."
},
{
L_ERROR_SYSTEM
,
"System error:"
},
{
L_ERROR_SYSTEM
,
"System error:"
},
{
L_ERROR_ERRNO
,
NULL
}
{
L_ERROR_ERRNO
,
NULL
}
};
};
...
@@ -519,13 +519,15 @@ void aix_loaderror(char *pathname)
...
@@ -519,13 +519,15 @@ void aix_loaderror(char *pathname)
sprintf
(
errbuf
,
" from module %.200s "
,
pathname
);
sprintf
(
errbuf
,
" from module %.200s "
,
pathname
);
if
(
!
loadquery
(
1
,
&
message
[
0
],
sizeof
(
message
)))
if
(
!
loadquery
(
1
,
&
message
[
0
],
sizeof
(
message
)))
{
ERRBUF_APPEND
(
strerror
(
errno
));
ERRBUF_APPEND
(
strerror
(
errno
));
ERRBUF_APPEND
(
"
\n
"
);
}
for
(
i
=
0
;
message
[
i
]
&&
*
message
[
i
];
i
++
)
{
for
(
i
=
0
;
message
[
i
]
&&
*
message
[
i
];
i
++
)
{
int
nerr
=
atoi
(
message
[
i
]);
int
nerr
=
atoi
(
message
[
i
]);
for
(
j
=
0
;
j
<
LOAD_ERRTAB_LEN
;
j
++
)
{
for
(
j
=
0
;
j
<
LOAD_ERRTAB_LEN
;
j
++
)
{
if
(
nerr
==
load_errtab
[
i
].
errno
&&
load_errtab
[
i
].
errstr
)
if
(
nerr
==
load_errtab
[
j
].
errno
&&
load_errtab
[
j
].
errstr
)
ERRBUF_APPEND
(
load_errtab
[
i
].
errstr
);
ERRBUF_APPEND
(
load_errtab
[
j
].
errstr
);
}
}
while
(
isdigit
(
*
message
[
i
]))
message
[
i
]
++
;
while
(
isdigit
(
*
message
[
i
]))
message
[
i
]
++
;
ERRBUF_APPEND
(
message
[
i
]);
ERRBUF_APPEND
(
message
[
i
]);
...
...
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