summaryrefslogtreecommitdiffstats
path: root/Include/osdefs.h
Commit message (Collapse)AuthorAgeFilesLines
* Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python usesThomas Wouters2006-04-251-0/+4
| | | | | | | | | MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution.
* Getting rid of all the code inside #ifdef macintosh too.Jack Jansen2003-11-201-7/+0
|
* OS/2 EMX port changes (Include part of patch #450267):Andrew MacIntyre2002-02-261-0/+6
| | | | | | Include/ osdefs.h // EMX promotes Un*x path separators pyport.h
* RISCOS patch by dschwertbergerGuido van Rossum2001-03-021-0/+7
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Use the proper OS2 test symbol: PYOS_OS2.Guido van Rossum1997-12-051-1/+1
|
* Patch for QNX, by Chris Herborth.Guido van Rossum1997-12-021-0/+3
|
* os2 patch by Jeff RushGuido van Rossum1997-11-221-1/+1
|
* djgpp support.Guido van Rossum1997-02-141-1/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__Guido van Rossum1996-09-111-1/+2
| | | | or __WATCOMC__. Add ALTSEP for PC filesystems.
* Added __WATCOMC__ as DOS compiler.Guido van Rossum1996-05-221-1/+1
|
* make the type a parameter of the DL_IMPORT macro, for Borland CGuido van Rossum1995-02-271-1/+1
|
* Added 1995 copyright.Guido van Rossum1995-01-041-2/+2
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* Use \n as PYTHONPATH delimiter on Mac (less likely to occur inJack Jansen1994-12-141-1/+2
| | | | filenames than space).
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-2/+2
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+11
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Moved definition of search path DELIM here (from sysmodule.c).Guido van Rossum1992-03-231-0/+9
|
* Initial revisionGuido van Rossum1992-02-261-0/+43