Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Accept long options "--help" and "--version". | Georg Brandl | 2006-07-12 | 1 | -4/+27 |
| | |||||
* | spread the extern "C" { } magic pixie dust around. Python itself builds now | Anthony Baxter | 2006-04-13 | 1 | -0/+9 |
| | | | | | using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core. | ||||
* | Move our own getopt() implementation to _PyOS_GetOpt(), and use it | Thomas Wouters | 2000-11-03 | 1 | -31/+18 |
| | | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it. | ||||
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 1 | -5/+2 |
| | | | | declarations yet, those come later. | ||||
* | Tim Peters discovered a bug in the Python-supplied getopt(): | Guido van Rossum | 1999-09-13 | 1 | -1/+2 |
| | | | | | it doesn't recognize a lone dash as a non-flag argument. Now it does. | ||||
* | Patch by Chris Herborth: | Guido van Rossum | 1998-12-17 | 1 | -0/+4 |
| | | | | have to use a const-correct prototype on BeOS or the compiler gets uppity. | ||||
* | Fix a bug in this code that made it do the wrong thing when an option | Guido van Rossum | 1997-09-30 | 1 | -1/+4 |
| | | | | was a single '-'. Thanks to Andrew Kuchling. | ||||
* | (Jack:) Don't define TRUE and FALSE if already defined. | Guido van Rossum | 1997-04-11 | 1 | -1/+4 |
| | |||||
* | don't use function prototypes | Guido van Rossum | 1995-01-20 | 1 | -1/+4 |
| | |||||
* | New version handles -o<string> same as -o <string> | Guido van Rossum | 1994-04-28 | 1 | -31/+62 |
| | |||||
* | A getopt.c for your amusement | Guido van Rossum | 1994-04-14 | 1 | -0/+54 |