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
b33aa1a5
Kaydet (Commit)
b33aa1a5
authored
Nis 24, 2000
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Jack Jansen: The new version of the GUSI i/o library on the Macintosh
has a few slightly different calls from the old one.
üst
095249fc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
dynload_mac.c
Python/dynload_mac.c
+3
-3
import.c
Python/import.c
+2
-2
No files found.
Python/dynload_mac.c
Dosyayı görüntüle @
b33aa1a5
...
...
@@ -40,7 +40,7 @@ PERFORMANCE OF THIS SOFTWARE.
#define CFragConnectionID ConnectionID
#define kLoadCFrag 0x01
#endif
#ifdef USE_GUSI
#ifdef USE_GUSI
1
#include "TFileSpec.h"
/* for Path2FSSpec() */
#endif
#include <Files.h>
...
...
@@ -78,7 +78,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
Ptr
mainAddr
;
Str255
errMessage
;
OSErr
err
;
#ifndef USE_GUSI
#ifndef USE_GUSI
1
Boolean
isfolder
,
didsomething
;
#endif
char
buf
[
512
];
...
...
@@ -87,7 +87,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
CFragSymbolClass
class
;
/* First resolve any aliases to find the real file */
#ifdef USE_GUSI
#ifdef USE_GUSI
1
err
=
Path2FSSpec
(
pathname
,
&
libspec
);
#else
(
void
)
FSMakeFSSpec
(
0
,
0
,
Pstring
(
pathname
),
&
libspec
);
...
...
Python/import.c
Dosyayı görüntüle @
b33aa1a5
...
...
@@ -1087,7 +1087,7 @@ check_case(char *buf, int len, int namelen, char *name)
#ifdef macintosh
#include <TextUtils.h>
#ifdef USE_GUSI
#ifdef USE_GUSI
1
#include "TFileSpec.h"
/* for Path2FSSpec() */
#endif
static
int
...
...
@@ -1095,7 +1095,7 @@ check_case(char *buf, int len, int namelen, char *name)
{
FSSpec
fss
;
OSErr
err
;
#ifndef USE_GUSI
#ifndef USE_GUSI
1
err
=
FSMakeFSSpec
(
0
,
0
,
Pstring
(
buf
),
&
fss
);
#else
/* GUSI's Path2FSSpec() resolves all possible aliases nicely on
...
...
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