Guido van Rossum
b6a4716298
Add strerror() interface.
1997-09-15 22:54:34 +00:00
Guido van Rossum
c6ef204830
Added /**/ around #end tags
1997-08-21 02:30:45 +00:00
Guido van Rossum
6d8841c079
Added a bunch of XXX comments about things I'd like to see changed...
1997-08-14 19:57:39 +00:00
Guido van Rossum
98d9d09090
Added O_BINARY and O_TEXT (for Windows).
1997-08-08 21:48:51 +00:00
Roger E. Masse
0318fd6050
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
...
so that MSVC 4.2 doesn't complain under NT.
1997-06-05 22:07:58 +00:00
Guido van Rossum
ec4f4ac8c0
Added doc strings (Neil Schemenauer).
1997-06-02 22:20:51 +00:00
Guido van Rossum
b9f866cb7c
Enable putenv and waitpid (== wait4) for NeXT.
1997-05-22 15:12:39 +00:00
Guido van Rossum
ba9d7c5612
Change the exception objects to have the string value "os.error"
...
instead "posix.error" or "nt.error".
1997-04-29 15:49:54 +00:00
Barry Warsaw
5ed19dcc0e
posix_execve(): Accept any mapping protocol object for the env
...
argument, not hardwired to a dictionary.
1997-01-29 15:08:24 +00:00
Barry Warsaw
4a34209468
1. Export open(2) flag constants for every defined constant
...
2. Reworked error checking in initposix() and initnt().
1996-12-19 23:50:02 +00:00
Barry Warsaw
43d68b8fb0
Minor formatting changes.
1996-12-19 22:10:44 +00:00
Barry Warsaw
53699e9ec1
Renamed.
...
Note that there is no test suite for this module, and I don't plan to
write one just now.
1996-12-10 23:23:01 +00:00
Guido van Rossum
a376cc5cc8
Keep gcc -Wall happy.
1996-12-05 23:43:35 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
87755a24c2
Use #ifdef MS_WIN32 instead of _MSC_VER > 850.
1996-09-07 00:59:43 +00:00
Guido van Rossum
f1af3fe8eb
Added simple-minded (i.e. leaking :-) putenv() interface, if os has it.
1996-07-23 19:18:10 +00:00
Guido van Rossum
c012547142
Added plock() system call.
...
Changed test for Windows times() emulation.
1996-06-28 18:55:32 +00:00
Guido van Rossum
8d665e6b51
changed windows test symbols; removed debug printf from sockets
1996-06-26 18:22:49 +00:00
Guido van Rossum
fd03e2b4b1
Clear waitpid() status arg in case there's no process to report with
...
WNOHANG set.
1996-06-19 23:17:02 +00:00
Guido van Rossum
8bac546e11
Avoid core dump in resizestring() on read() with 0 bytes.
1996-06-11 18:38:48 +00:00
Guido van Rossum
a0e71303d9
Changed NT -> MSC or WATCOM
1996-05-28 22:30:38 +00:00
Guido van Rossum
a4916fa54f
Added mkfifo, ftruncate. Windows/PC changes.
1996-05-23 22:58:55 +00:00
Guido van Rossum
b0824db52c
Made 2nd arg to mkdir optional
1996-02-25 04:50:32 +00:00
Guido van Rossum
f4a5912d51
add remove==unlink; mark strftime as varargs
1996-02-13 00:12:56 +00:00
Guido van Rossum
bbc3410fa8
added 5th return item, clock time, to posix.times()
1995-09-13 17:39:51 +00:00
Guido van Rossum
24f42ac74c
suppress . and .. in listdir return value
1995-07-18 18:16:52 +00:00
Guido van Rossum
36bc68024f
sys/wait.h; NeXT changes (no unistd, utime; getcwd?)
1995-06-14 22:54:23 +00:00
Guido van Rossum
de4e124c9b
add WNOHANG
1995-03-30 10:56:54 +00:00
Guido van Rossum
6f4f5f7892
some more changes for NT and Borland
1995-03-10 15:14:41 +00:00
Guido van Rossum
ad0ee8369c
changes for NT/Borland C
1995-03-01 10:34:45 +00:00
Guido van Rossum
a38a503576
fix comment opener after #endif
1995-02-17 15:11:36 +00:00
Guido van Rossum
d1b3481d69
correct typo in utime stub
1995-02-07 15:39:29 +00:00
Guido van Rossum
f8803dd6c3
uname 64-bit fix
1995-01-26 00:37:45 +00:00
Guido van Rossum
a6a1e536ac
added bufsize parameter to fdopen and popen
1995-01-10 15:36:38 +00:00
Guido van Rossum
524b588553
Added 1995 to copyright message.
...
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
1995-01-04 19:10:35 +00:00
Guido van Rossum
3bbc62e9c2
Another bulky set of minor changes.
...
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
1995-01-02 19:30:30 +00:00
Guido van Rossum
6493389a8c
distinguish between getpgrp and setpgrp arg requirements
1994-10-20 21:56:42 +00:00
Guido van Rossum
14ed0b2cd3
* Modules/xxmodule.c: integrated with xxobject.c by Jack
...
* Modules/(posix,socket}module.c: more NT changes
1994-09-29 09:50:09 +00:00
Guido van Rossum
b078ce10d4
Move #endif for NT
1994-08-29 14:01:43 +00:00
Guido van Rossum
794d81313b
* Modules/posixmodule.c: some more NT changes
1994-08-23 13:48:48 +00:00
Guido van Rossum
6a3eb5f14d
Changes to make it work and compile on NT, by Mark Hammond.
...
(NT changes for posixmodule.c re-invented by Guido.)
1994-08-18 15:42:46 +00:00
Guido van Rossum
b6775db241
Merge alpha100 branch back to main trunk
1994-08-01 11:34:53 +00:00
Guido van Rossum
248a50c168
* Grammar: corrected old typo (class instead of 'class')
...
* 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).
1993-12-20 12:53:10 +00:00
Guido van Rossum
b376a4ad18
* 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.
1993-11-23 17:53:17 +00:00
Guido van Rossum
a3d78fb268
* posixmodule.c: added set{uid,gid}.
...
* {tuple,list,mapping,array}object.c: call printobject with 0 for flags
* compile.c (parsestr): use quote instead of '\'' at one crucial point
* arraymodule.c (array_getattr): Added __members__ attribute
1993-11-10 09:23:53 +00:00
Guido van Rossum
c6dcc9f407
Added execve; change getstrarg into getargs with "s" format
1993-11-05 10:15:19 +00:00
Guido van Rossum
c70b61fe6d
Hacks for NEXTSTEP.
1993-11-01 16:23:18 +00:00
Guido van Rossum
06191530b6
Work around a bug in the DEC alpha OSF/1 C preprocessor.
1993-10-26 15:22:37 +00:00
Guido van Rossum
89b3325dc4
* import.c (MAGIC): Changed magic word to avoid confusion about exec
...
function vs. exec statement
* bltinmodule.c: renamed the module to __builtin__.
* posixmodule.c (posix_execv): renamed exec --> execv since it is now a
reserved word.
1993-10-22 14:26:06 +00:00
Guido van Rossum
a3309960a5
* Added support for X11 modules.
...
* 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++.
1993-07-28 09:05:47 +00:00