Antoine Pitrou
c7c96a90bc
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
16 years ago
Antoine Pitrou
c83ea137d7
Untabify C files. Will watch buildbots.
16 years ago
Georg Brandl
41a0a37c08
Improve -X error message.
18 years ago
Christian Heimes
7a98d2730c
Applied patch #2617 from Frank Wierzbicki wit some extras from me
-J and -X are now reserved for Jython and non-standard arguments (e.g. IronPython). I've added some extra comments to make sure the reservation don't get missed in the future.
18 years ago
Georg Brandl
9dceedbb97
Accept long options "--help" and "--version".
20 years ago
Anthony Baxter
ac6bd46d5c
spread the extern "C" { } magic pixie dust around. Python itself builds now
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.
20 years ago
Thomas Wouters
2cffc7d420
Move our own getopt() implementation to _PyOS_GetOpt(), and use it
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.
26 years ago
Thomas Wouters
f70ef4f860
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
26 years ago
Guido van Rossum
2adac0a637
Tim Peters discovered a bug in the Python-supplied getopt():
it doesn't recognize a lone dash as a non-flag argument.
Now it does.
27 years ago
Guido van Rossum
0e1d0e95ea
Patch by Chris Herborth:
have to use a const-correct prototype on BeOS or the compiler gets uppity.
27 years ago
Guido van Rossum
b4102bf5f8
Fix a bug in this code that made it do the wrong thing when an option
was a single '-'. Thanks to Andrew Kuchling.
29 years ago
Guido van Rossum
62bf108392
(Jack:) Don't define TRUE and FALSE if already defined.
29 years ago
Guido van Rossum
10bb1c46f1
don't use function prototypes
31 years ago
Guido van Rossum
871b805a04
New version handles -o<string> same as -o <string>
32 years ago
Guido van Rossum
2508ade19e
A getopt.c for your amusement
32 years ago