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
68f1d455
Kaydet (Commit)
68f1d455
authored
Haz 18, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Obtain path from a resource (unless USE_BUILTIN_PATH is #defined)
üst
e5e2cdde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
config.c
Mac/Modules/config.c
+9
-2
No files found.
Mac/Modules/config.c
Dosyayı görüntüle @
68f1d455
...
@@ -142,7 +142,7 @@ getcopyright()
...
@@ -142,7 +142,7 @@ getcopyright()
#ifndef PYTHONPATH
#ifndef PYTHONPATH
#ifdef macintosh
#ifdef macintosh
/* Mod by Jack: \n is now separator. */
/* Mod by Jack: \n is now separator. */
#define PYTHONPATH ":\n:Lib\n:Lib:stdwin\n:Lib:test\n:Lib:mac"
#define PYTHONPATH ":\n:Lib\n:Lib:stdwin\n:Lib:test\n:Lib:mac
\n:PackedLib\n:PlugIns
"
#endif
/* macintosh */
#endif
/* macintosh */
#endif
/* !PYTHONPATH */
#endif
/* !PYTHONPATH */
...
@@ -172,10 +172,17 @@ getpythonpath()
...
@@ -172,10 +172,17 @@ getpythonpath()
char
*
p
,
*
endp
;
char
*
p
,
*
endp
;
int
newlen
;
int
newlen
;
extern
char
*
PyMac_GetPythonDir
();
extern
char
*
PyMac_GetPythonDir
();
extern
char
*
PyMac_GetScriptPath
();
#ifndef USE_BUILTIN_PATH
extern
char
*
PyMac_GetPythonPath
();
#endif
if
(
pythonpath
)
return
pythonpath
;
if
(
pythonpath
)
return
pythonpath
;
curwd
=
PyMac_GetPythonDir
();
curwd
=
PyMac_GetPythonDir
();
#ifndef USE_BUILTIN_PATH
if
(
pythonpath
=
PyMac_GetPythonPath
(
curwd
)
)
return
pythonpath
;
printf
(
"Warning: No pythonpath resource found, using builtin default
\n
"
);
#endif
p
=
PYTHONPATH
;
p
=
PYTHONPATH
;
endp
=
p
;
endp
=
p
;
pythonpath
=
malloc
(
2
);
pythonpath
=
malloc
(
2
);
...
...
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