summaryrefslogtreecommitdiff
path: root/Modules/posixmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Added separate main program for the Mac: macmain.cGuido van Rossum1993-01-211-15/+11
| | | | | | | | | | | | | | | | | | | | | stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
* * Makefile: use cp -r to install the libraryGuido van Rossum1993-01-091-2/+22
| | | | | | | | * ceval.c: use #ifdef COMPAT_HACKS instead of #if 0 * Makefile: fix to make clmodule.c compile; make config.o dependent on libpython.a (so date is always correct) * timemodule.c: now sleep() also takes a float argument. * posixmodule.c: added nice().
* * Configure.py: use #!/usr/local/bin/pythonGuido van Rossum1993-01-041-16/+19
| | | | | | | | | | | * posixmodule.c: move extern function declarations to top * listobject.c: cmp() arguments must be void* if __STDC__ * Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of strdup() -- it is a portability risk * Makefile: enclosed ranlib command in parentheses for Sequent Make which aborts if the command is not found even if '-' is present * timemodule.c: time() returns a floating point number, in microsecond precision if BSD_TIME is defined.
* * Makefile: added IMGFILE; moved some stuff around.Guido van Rossum1992-09-171-3/+41
| | | | | | | | * flmodule.c: added some missing functions; changed readonly flags of some data members based upon FORMS documentation. * listobject.c: fixed int/long arg lint bug (bites PC compilers). * several: removed redundant print methods (repr is good enough). * posixmodule.c: added (still experimental) process group functions.
* posix: added setpgrp() and, if sgi, setsid() and setpgid(pid, pgid)Guido van Rossum1992-09-131-1/+59
|
* DO_TIMES must now be defined in the MakefileGuido van Rossum1992-08-121-4/+0
|
* Makefile, Configure.py: ##ask --> ##[el]if[yes|no]Guido van Rossum1992-08-091-28/+30
| | | | posixmodule.c: waitpid() is separate
* * Makefile: cosmeticsGuido van Rossum1992-08-051-11/+56
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* Added gete?[gu]id functionsGuido van Rossum1992-05-151-0/+44
|
* Added times() (from time)Guido van Rossum1992-04-051-2/+50
|
* Check empty argument lists.Guido van Rossum1992-03-271-1/+13
| | | | Lint fixes (and include <unistd.h>)
* Added uname. Made lstat/readlink/symlink unconditional (the latterGuido van Rossum1992-02-051-10/+54
| | | | two raise posix.error if symlinks aren't supported).
* Use getargs() function.Guido van Rossum1992-01-271-50/+35
|
* getlonglongargs --> getlonglongargGuido van Rossum1991-09-101-2/+3
| | | | Fixed type error in argument of newopenfileobject.
* Ignore SIGPIPE when we've opened a pipeGuido van Rossum1991-07-271-0/+3
|
* Fixed confusing error message (open should be popen)Guido van Rossum1991-07-011-1/+1
|
* Getpgrp() has a parameter, at least on BSD!Guido van Rossum1991-06-071-1/+1
|
* Added getpgrp(); fixed buggy calls to getnoarg().Guido van Rossum1991-06-041-2/+13
|
* Added popen().Guido van Rossum1991-06-041-1/+37
| | | | Added getmtime() function for use by ".pyc" processing.
* Removed utimes() compatibility hack.Guido van Rossum1991-06-031-1/+165
| | | | Added _exit, exec, fork, getpid, getppid, kill and wait.
* Incorporated MSDOS changes (untested).Guido van Rossum1991-04-081-2/+93
|
* Made utime use much more portable.Guido van Rossum1991-04-081-14/+52
| | | | | Incorporated i386 mods. (Oh, BTW, the "right" python name is now posix.utime, not utimes!
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Moved getcwd() hack to its own file.Guido van Rossum1991-01-211-21/+0
|
* "Compiling" versionGuido van Rossum1990-12-201-17/+5
|
* Added prototype to declaration of strerror().Guido van Rossum1990-10-301-1/+1
|
* Made posix_error back static as it should be.Guido van Rossum1990-10-211-1/+1
|
* Change posix_error() to call err_errno().Guido van Rossum1990-10-141-10/+2
|
* Initial revisionGuido van Rossum1990-10-141-0/+444