Mercurial > cpython-lru_cache-weakref
comparison Python/pythonmain.c @ 1413:c914b10bf2ed legacy-trunk
* timemodule.c: Add hack for Solaris 2.
* posixmodule.c: don't prototype getcwd() -- it's not portable...
* mappingobject.c: double-check validity of last_name_char in
dict{lookup,insert,remove}.
* arraymodule.c: need memmove only for non-STDC Suns.
* Makefile: comment out HTML_LIBS and XT_USE by default
* pythonmain.c: don't prototype getopt() -- it's not standardized
* socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
recvfrom() to (ANY*).
* pythonrun.c (initsigs): fix prototype, make it static
* intobject.c (LONG_BIT): only #define it if not already defined
* classobject.[ch]: remove all references to unused instance_convert()
* mappingobject.c (getmappingsize): Don't return NULL in int function.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 23 Nov 1993 17:53:17 +0000 |
| parents | 92e6a8cf14be |
| children | b724599401ff |
comparison
equal
deleted
inserted
replaced
| 1412:00f1e8864dcc | 1413:c914b10bf2ed |
|---|---|
| 31 extern int killprint; /* Defined in ceval.c */ | 31 extern int killprint; /* Defined in ceval.c */ |
| 32 | 32 |
| 33 /* Interface to getopt(): */ | 33 /* Interface to getopt(): */ |
| 34 extern int optind; | 34 extern int optind; |
| 35 extern char *optarg; | 35 extern char *optarg; |
| 36 extern int getopt PROTO((int, char **, char *)); | 36 extern int getopt(); /* PROTO((int, char **, char *)); -- not standardized */ |
| 37 | 37 |
| 38 extern char *getenv(); | 38 extern char *getenv(); |
| 39 | 39 |
| 40 main(argc, argv) | 40 main(argc, argv) |
| 41 int argc; | 41 int argc; |
