summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved some #ifdefs around that got put in the wrong place by theGuido van Rossum1997-12-291-16/+22
| | | | latest OS/2 patch set.
* Another large batch of patches from Jeff Rush for OS/2.Guido van Rossum1997-12-051-15/+243
| | | | I hope this time I've taken out all // comments and indended #ifdefs.
* Patch for QNX, by Chris Herborth. Also left-aligned preprocessorGuido van Rossum1997-12-021-58/+58
| | | | directives and changed C++ comments to C comments.
* os2 patch by Jeff RushGuido van Rossum1997-11-221-5/+252
|
* This fix (across 4 files in 3 directories) solves a subtle problem withGuido van Rossum1997-11-141-0/+1
| | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used.
* Apply two changes, systematically:Guido van Rossum1997-10-011-52/+16
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Add strerror() interface.Guido van Rossum1997-09-151-2/+30
|
* Added /**/ around #end tagsGuido van Rossum1997-08-211-1/+1
|
* Added a bunch of XXX comments about things I'd like to see changed...Guido van Rossum1997-08-141-1/+8
|
* Added O_BINARY and O_TEXT (for Windows).Guido van Rossum1997-08-081-0/+6
|
* Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMESRoger E. Masse1997-06-051-3/+3
| | | | so that MSVC 4.2 doesn't complain under NT.
* Added doc strings (Neil Schemenauer).Guido van Rossum1997-06-021-59/+364
|
* Enable putenv and waitpid (== wait4) for NeXT.Guido van Rossum1997-05-221-0/+87
|
* Change the exception objects to have the string value "os.error"Guido van Rossum1997-04-291-2/+2
| | | | instead "posix.error" or "nt.error".
* posix_execve(): Accept any mapping protocol object for the envBarry Warsaw1997-01-291-7/+18
| | | | argument, not hardwired to a dictionary.
* 1. Export open(2) flag constants for every defined constantBarry Warsaw1996-12-191-16/+88
| | | | 2. Reworked error checking in initposix() and initnt().
* Minor formatting changes.Barry Warsaw1996-12-191-31/+33
|
* Renamed.Barry Warsaw1996-12-101-504/+503
| | | | | Note that there is no test suite for this module, and I don't plan to write one just now.
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-3/+6
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Use #ifdef MS_WIN32 instead of _MSC_VER > 850.Guido van Rossum1996-09-071-1/+1
|
* Added simple-minded (i.e. leaking :-) putenv() interface, if os has it.Guido van Rossum1996-07-231-0/+27
|
* Added plock() system call.Guido van Rossum1996-06-281-1/+25
| | | | Changed test for Windows times() emulation.
* changed windows test symbols; removed debug printf from socketsGuido van Rossum1996-06-261-16/+17
|
* Clear waitpid() status arg in case there's no process to report withGuido van Rossum1996-06-191-1/+1
| | | | WNOHANG set.
* Avoid core dump in resizestring() on read() with 0 bytes.Guido van Rossum1996-06-111-4/+5
|
* Changed NT -> MSC or WATCOMGuido van Rossum1996-05-281-1/+1
|
* Added mkfifo, ftruncate. Windows/PC changes.Guido van Rossum1996-05-231-31/+214
|
* Made 2nd arg to mkdir optionalGuido van Rossum1996-02-251-2/+13
|
* add remove==unlink; mark strftime as varargsGuido van Rossum1996-02-131-0/+1
|
* added 5th return item, clock time, to posix.times()Guido van Rossum1995-09-131-3/+5
|
* suppress . and .. in listdir return valueGuido van Rossum1995-07-181-0/+9
|
* sys/wait.h; NeXT changes (no unistd, utime; getcwd?)Guido van Rossum1995-06-141-0/+20
|
* add WNOHANGGuido van Rossum1995-03-301-0/+8
|
* some more changes for NT and BorlandGuido van Rossum1995-03-101-3/+5
|
* changes for NT/Borland CGuido van Rossum1995-03-011-21/+65
|
* fix comment opener after #endifGuido van Rossum1995-02-171-1/+1
|
* correct typo in utime stubGuido van Rossum1995-02-071-1/+1
|
* uname 64-bit fixGuido van Rossum1995-01-261-1/+4
|
* added bufsize parameter to fdopen and popenGuido van Rossum1995-01-101-10/+19
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-13/+12
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* distinguish between getpgrp and setpgrp arg requirementsGuido van Rossum1994-10-201-3/+3
|
* * Modules/xxmodule.c: integrated with xxobject.c by JackGuido van Rossum1994-09-291-0/+25
| | | | * Modules/(posix,socket}module.c: more NT changes
* Move #endif for NTGuido van Rossum1994-08-291-1/+1
|
* * Modules/posixmodule.c: some more NT changesGuido van Rossum1994-08-231-3/+20
|
* Changes to make it work and compile on NT, by Mark Hammond.Guido van Rossum1994-08-181-74/+60
| | | | (NT changes for posixmodule.c re-invented by Guido.)
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-133/+291
|
* * Grammar: corrected old typo (class instead of 'class')Guido van Rossum1993-12-201-158/+0
| | | | | | | * dosmodule.c: MSDOS specific stuff from posixmodule.c. * posixmodule.c: removed all MSDOS specific stuff. * tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed parameters (MSC doesn't like this).
* * timemodule.c: Add hack for Solaris 2.Guido van Rossum1993-11-231-2/+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.