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
cf636939
Kaydet (Commit)
cf636939
authored
Agu 07, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Better error messages wrt missing resources and preferences
üst
a7b6a820
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
macglue.c
Mac/Python/macglue.c
+4
-3
No files found.
Mac/Python/macglue.c
Dosyayı görüntüle @
cf636939
...
@@ -488,7 +488,7 @@ PyMac_GetPythonDir()
...
@@ -488,7 +488,7 @@ PyMac_GetPythonDir()
UpdateAlias
(
NULL
,
&
dirspec
,
handle
,
&
modified
);
UpdateAlias
(
NULL
,
&
dirspec
,
handle
,
&
modified
);
}
}
#else
#else
printf
(
"Error:
no
Preferences file. Attempting to limp on...
\n
"
);
printf
(
"Error:
corrupted
Preferences file. Attempting to limp on...
\n
"
);
name
[
0
]
=
0
;
name
[
0
]
=
0
;
getwd
(
name
);
getwd
(
name
);
return
name
;
return
name
;
...
@@ -1022,8 +1022,10 @@ PyMac_InteractiveOptions(int *inspect, int *verbose, int *suppress_print,
...
@@ -1022,8 +1022,10 @@ PyMac_InteractiveOptions(int *inspect, int *verbose, int *suppress_print,
return
;
return
;
dialog
=
GetNewDialog
(
OPT_DIALOG
,
NULL
,
(
WindowPtr
)
-
1
);
dialog
=
GetNewDialog
(
OPT_DIALOG
,
NULL
,
(
WindowPtr
)
-
1
);
if
(
dialog
==
NULL
)
if
(
dialog
==
NULL
)
{
printf
(
"Option dialog not found - cannot set options
\n
"
);
return
;
return
;
}
while
(
1
)
{
while
(
1
)
{
handle
=
NULL
;
handle
=
NULL
;
ModalDialog
(
NULL
,
&
item
);
ModalDialog
(
NULL
,
&
item
);
...
@@ -1049,5 +1051,4 @@ PyMac_InteractiveOptions(int *inspect, int *verbose, int *suppress_print,
...
@@ -1049,5 +1051,4 @@ PyMac_InteractiveOptions(int *inspect, int *verbose, int *suppress_print,
#undef OPT_ITEM
#undef OPT_ITEM
}
}
DisposDialog
(
dialog
);
DisposDialog
(
dialog
);
/*DBG*/
printf
(
"options: %d %d %d %d %d %d
\n
"
,
*
inspect
,
*
verbose
,
*
suppress_print
,
*
unbuffered
,
*
debugging
);
}
}
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