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
29e7af07
Kaydet (Commit)
29e7af07
authored
Agu 23, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more changes
üst
bd851cd1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
22 deletions
+25
-22
config.h
Mac/Include/config.h
+2
-2
config.c
Mac/Modules/config.c
+15
-8
macmodule.c
Mac/Modules/macmodule.c
+2
-2
README
Mac/README
+3
-5
Relnotes-1.2
Mac/Relnotes-1.2
+3
-5
No files found.
Mac/Include/config.h
Dosyayı görüntüle @
29e7af07
/* config.h for Macintosh THINK C 6.0. */
/* Define if on Macintosh (THINK
C or MPW
*/
/* Define if on Macintosh (THINK
_C or MPW should also be defined)
*/
#define macintosh
/* Define if on AIX 3.
...
...
@@ -166,7 +166,7 @@
#undef HAVE_GETTIMEOFDAY
/* Define if you have getwd. */
#
define HAVE_GETWD 1
#
undef HAVE_GETWD
/* Define if you have link. */
#undef HAVE_LINK
...
...
Mac/Modules/config.c
Dosyayı görüntüle @
29e7af07
/* Generated automatically from ../../Modules/config.c.in by makesetup. */
/* -*- C -*- ***********************************************
Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
...
...
@@ -23,12 +22,19 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
/*
Universal
Python configuration file */
/*
Macintosh
Python configuration file */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef macintosh
/* The Macintosh main program is in macmain.c */
#define NO_MAIN
/* Comment this out if you're not interested in STDWIN */
#define USE_STDWIN
#endif
#include <stdio.h>
#include <string.h>
...
...
@@ -53,10 +59,6 @@ main(argc, argv)
int
argc
;
char
**
argv
;
{
#ifdef macintosh
/* Macs always support stdwin */
// wargs(&argc, &argv);
#endif
argv0
=
argv
[
0
];
realmain
(
argc
,
argv
);
}
...
...
@@ -190,6 +192,7 @@ extern void initcl();
extern
void
initfm
();
extern
void
initgl
();
extern
void
initimgfile
();
extern
void
initimgformat
();
extern
void
initsgi
();
extern
void
initsv
();
extern
void
initfl
();
...
...
@@ -199,6 +202,7 @@ extern void initsignal();
extern
void
initnew
();
extern
void
initdl
();
extern
void
initsyslog
();
extern
void
initgestalt
();
/* -- ADDMODULE MARKER 1 -- */
...
...
@@ -220,11 +224,14 @@ struct {
{
"audioop"
,
initaudioop
},
{
"imageop"
,
initimageop
},
{
"rgbimg"
,
initrgbimg
},
// {"stdwin", initstdwin},
#ifdef USE_STDWIN
{
"stdwin"
,
initstdwin
},
#endif
{
"md5"
,
initmd5
},
{
"rotor"
,
initrotor
},
// {"signal", initsignal},
{
"new"
,
initnew
},
{
"gestalt"
,
initgestalt
},
{
"imgformat"
,
initimgformat
},
/* -- ADDMODULE MARKER 2 -- */
...
...
Mac/Modules/macmodule.c
Dosyayı görüntüle @
29e7af07
...
...
@@ -33,12 +33,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stat.h>
#include <fcntl.h>
#include "macdefs.h"
#include "dirent.h"
#include "stat.h"
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
...
...
@@ -369,7 +369,7 @@ mac_stat(self, args)
return
mac_error
();
return
mkvalue
(
"(llllllllll)"
,
(
long
)
st
.
st_mode
,
0L
/* st_ino */
,
(
long
)
st
.
st_ito
,
/* XXX st_ino -- typo in THINK C <stat.h>? */
(
long
)
st
.
st_dev
,
(
long
)
st
.
st_nlink
,
(
long
)
st
.
st_uid
,
...
...
Mac/README
Dosyayı görüntüle @
29e7af07
...
...
@@ -82,13 +82,13 @@ arbitrarily because of the 32000 bytes restriction.
- From Mac: all .c files except fopenRF.c [[which shouldn't even
be there]].
- From Parser: acceler.c, grammar1.c, myreadline.c, node.c,
- From Parser: acceler.c, grammar1.c,
intrcheck.c,
myreadline.c, node.c,
parser.c, parsetok.c, tokenizer.c.
- From Python: bltinmodule.c, ceval.c, cgensupport.c,
compile.c, errors.c, getopt.c, graminit.c, import.c,
marshal.c, modsupport.c, mystrtoul.c, pythonmain.c,
pythonrun.c, structmember.c, sysmodule.c, traceback.c
pythonrun.c, s
igcheck.c, s
tructmember.c, sysmodule.c, traceback.c
(i.e. all .c files except dup2.c, fmod.c, frozenmain.c,
getcwd.c, getmtime.c, memmove.c, sigcheck.c, strerror.c,
strtod.c, thread.c)
...
...
@@ -102,9 +102,7 @@ arbitrarily because of the 32000 bytes restriction.
macmodule.c in the Mac subdirectory, so it should already have
been added in a previous step.) Note that for most modules,
the source file is called <name>module.c, but for a few long
module names it is just <module>.c. - If you don't add
signalmodule.c, you must add intrcheck.c from Parser and
sigcheck.c from Python.
module names it is just <module>.c.
The following THINK C libraries must be added: from Standard
Libraries, ANSI and unix; from Mac Libraries, MacTraps. I put each
...
...
Mac/Relnotes-1.2
Dosyayı görüntüle @
29e7af07
...
...
@@ -82,13 +82,13 @@ arbitrarily because of the 32000 bytes restriction.
- From Mac: all .c files except fopenRF.c [[which shouldn't even
be there]].
- From Parser: acceler.c, grammar1.c, myreadline.c, node.c,
- From Parser: acceler.c, grammar1.c,
intrcheck.c,
myreadline.c, node.c,
parser.c, parsetok.c, tokenizer.c.
- From Python: bltinmodule.c, ceval.c, cgensupport.c,
compile.c, errors.c, getopt.c, graminit.c, import.c,
marshal.c, modsupport.c, mystrtoul.c, pythonmain.c,
pythonrun.c, structmember.c, sysmodule.c, traceback.c
pythonrun.c, s
igcheck.c, s
tructmember.c, sysmodule.c, traceback.c
(i.e. all .c files except dup2.c, fmod.c, frozenmain.c,
getcwd.c, getmtime.c, memmove.c, sigcheck.c, strerror.c,
strtod.c, thread.c)
...
...
@@ -102,9 +102,7 @@ arbitrarily because of the 32000 bytes restriction.
macmodule.c in the Mac subdirectory, so it should already have
been added in a previous step.) Note that for most modules,
the source file is called <name>module.c, but for a few long
module names it is just <module>.c. - If you don't add
signalmodule.c, you must add intrcheck.c from Parser and
sigcheck.c from Python.
module names it is just <module>.c.
The following THINK C libraries must be added: from Standard
Libraries, ANSI and unix; from Mac Libraries, MacTraps. I put each
...
...
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