Commit Graph

893 Commits

Author SHA1 Message Date
Barry Warsaw f630f6b93d Renamed, and scrutinized for missed potential error conditions.
Alas, I don't have an Indigo, so I could not even compile this.
1996-12-13 01:24:29 +00:00
Barry Warsaw 8496d39478 Renamed, however there is no test case. I did test some of the module
out manually, and it does compile, but I'm not sure how to write a
useful portable test case.  Maybe later...
1996-12-13 00:11:04 +00:00
Barry Warsaw 30695fa3cd Renamed. 1996-12-12 23:32:31 +00:00
Barry Warsaw c2feec3378 Renamed, but *not* tested or compiled. I don't even have the STDWIN
library.
1996-12-12 22:48:20 +00:00
Barry Warsaw c1cb360683 Reworked to eliminate all potential memory problems, including
deletion of object from list argument during callout to fileno().
1996-12-12 22:16:21 +00:00
Barry Warsaw e4ac0aa618 Several changes... Guido *please* take a look!
1. Renamed

2. Several coding styles were being used here, owing to the multiple
   contributors.  I tried to convert everything to standard "python"
   coding style for indentation, paren and brace placement, etc.

3. There were several potential error conditions that were never being
   checked, and where I saw them, I added checks of return values,
   etc.  I'm pretty sure I got them all.

4. There were some old-style (pre PyArg_ParseTuple) argument
   extraction and these were converted to use PyArg_ParseTuple.

All changes compile and run with the new test_select.py module, at
least on my Solaris/Sparc box.
1996-12-12 00:04:35 +00:00
Barry Warsaw 7bd9fbdea2 Grandly renamed.
Note that since I have no idea how to test this, I didn't write a test
case.  It does seem to at least compile on my system though.
1996-12-11 21:33:16 +00:00
Barry Warsaw 50c5cf132a Renamed. 1996-12-11 16:54:40 +00:00
Barry Warsaw 1abda0fb12 cat and puste errors 1996-12-11 01:00:46 +00:00
Barry Warsaw 3696c524a4 nis_maplist(): Use check of yp_get_default_domain() return value
that's used in other parts of this module.

nis_maps(): use PyArg_NoArgs().
1996-12-11 00:29:14 +00:00
Barry Warsaw adbf4e66df Renamed, and bug fixed:
Two interesting problems in nis_maplist().  First, it is possible that
clnt_create() will return NULL.  This was being caught, but no Python
error was being set.  I use clnt_spcreateerror() to generate the value
of the exception.

But why would clnt_create() fail?  It's because no server was being
found.  And why was this?  It was because nis_maplist() tried only to
get the NIS master for the first map in the aliases list, which is
passwd.byname, and guess what?  That's the one NIS map CNRI does *not*
export!  So the yp_master() call was failing to return a valid
server.  I now cycle through all the map aliases until I find a valid
master.  If not, a different exception is set.

I'm not sure this is the completely correct way to do all this, but
short of rewriting the entire nismodule.c (to expose the proper API to
Python), it should do the trick.
1996-12-11 00:15:58 +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
Barry Warsaw a6b7c7146c Renamed. 1996-12-10 16:25:56 +00:00
Guido van Rossum caf783793d Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy. 1996-12-10 15:41:19 +00:00
Guido van Rossum 36dd0d27c4 Fix operator priority bug found thanks to gcc -Wall. 1996-12-10 15:23:00 +00:00
Guido van Rossum e29ed8fa7c Make gcc -Wall happy; remove dummy variable (can't see where it's needed). 1996-12-10 15:21:30 +00:00
Guido van Rossum fb4130d1f1 Added extern decl for gethostname() to keep gcc -Wall happy. 1996-12-10 15:17:08 +00:00
Guido van Rossum 55db515a51 Great renaming.
Also got rid of the dummy variable, which was last needed in IRIX 4.x.
1996-12-10 00:32:31 +00:00
Guido van Rossum 09f99dfdba Removed redundant inclusion of <errno.h> (sorry, Roj!). 1996-12-10 00:12:14 +00:00
Roger E. Masse b0dfe969d9 renamed in a grand fashion. 1996-12-10 00:07:00 +00:00
Barry Warsaw abb7efeb7c Renamed a few symbols that were found in comments. 1996-12-09 23:22:35 +00:00
Barry Warsaw 3bdf746c5c Renamed, ungrandly. We don't have the GNU MP library here so we can't
really test this module, or even compile it without a lot of work.

I'll make a note of it that this has not been tested!
1996-12-09 23:16:31 +00:00
Roger E. Masse 56c345b235 renamed grandly. 1996-12-09 23:14:26 +00:00
Roger E. Masse 24070ca391 Renamed Grandly 1996-12-09 22:59:53 +00:00
Barry Warsaw 8b43b19ec9 Renamed 1996-12-09 22:32:36 +00:00
Roger E. Masse 5817f8f717 Removed some unneeded header files and reedited with a fixed-width font
from emacs as per recomendation from GvR
1996-12-09 22:24:19 +00:00
Roger E. Masse 2919eaaf08 Renamed Grandly (I think). 1996-12-09 20:10:36 +00:00
Guido van Rossum ece35bc22f Changes to keep gcc -Wall happy. 1996-12-09 18:52:11 +00:00
Guido van Rossum 7ce52be627 Added `void' to declaration of initgl(), to keep gcc -Wall happy. 1996-12-09 18:51:51 +00:00
Guido van Rossum 665f9198fe Added a bunch of extern void decls, to keep gcc -Wall happy. 1996-12-09 18:49:42 +00:00
Guido van Rossum 3d65fa3488 Include <sys/ioctl.h>, to keep gcc -Wall happy. 1996-12-09 18:49:14 +00:00
Guido van Rossum cd165cc092 Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. 1996-12-09 18:48:32 +00:00
Guido van Rossum 37273177be Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy. 1996-12-09 18:47:43 +00:00
Guido van Rossum 66a7013c5c Include unistd.h to keep gcc -Wall happy. 1996-12-09 18:46:58 +00:00
Guido van Rossum 259552dbd9 Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy. 1996-12-09 18:46:28 +00:00
Guido van Rossum 52174577eb Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
1996-12-09 18:38:52 +00:00
Barry Warsaw f52560197f Greatly renamed. 1996-12-09 18:35:56 +00:00
Barry Warsaw ec775c52a2 ins(): missed a renaming in a string: dictinsert =>
PyDict_SetItemString.

GvR: note the long line > 80 chars.  Wrapping suggestions?
1996-12-09 18:24:35 +00:00
Barry Warsaw 9a2a8a8d31 Greatly renamed. 1996-12-06 23:32:14 +00:00
Guido van Rossum 1bb126fa13 Add extern decl of ftime() to make gcc -Wall happy. 1996-12-06 20:17:44 +00:00
Guido van Rossum a376cc5cc8 Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
Guido van Rossum 60fca2c90f Add case for 'R' and a little bit of cleanup. Andrew Kuchling. 1996-12-05 23:41:26 +00:00
Guido van Rossum 049cd90b93 Jim F's brainchild 1996-12-05 23:30:48 +00:00
Guido van Rossum 81b24c0221 Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
1996-12-05 23:30:16 +00:00
Guido van Rossum 36a484fb52 Correct typo -- repeat implements *, not +. 1996-12-05 19:01:16 +00:00
Guido van Rossum b916faf66a Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code. 1996-11-21 16:02:12 +00:00
Guido van Rossum 0b1ff66920 Should compare errno to 0, not NULL 1996-11-02 17:31:22 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 0cbaff440d Fix case where you start a new group immediately after a label.
Thanks to Ka-Ping Yee.
1996-10-23 17:53:06 +00:00
Guido van Rossum 1d6fddb776 Changed _Py_EllipsesObject -> _Py_EllipsisObject. 1996-10-21 15:11:12 +00:00
Guido van Rossum a1b1cdbab2 Major upgrade by Vladimir Marangozov. 1996-10-21 15:10:39 +00:00
Guido van Rossum 084814624d Don't close an already closed socket. 1996-10-12 14:07:22 +00:00
Guido van Rossum 6e8583dcb3 Check for NULL pointer returned from localtime()/gmtime(). 1996-10-08 14:19:52 +00:00
Guido van Rossum c196202e3d Speedup of makeresult() by keeping a filler of (-1, -1) around. 1996-10-08 14:18:42 +00:00
Guido van Rossum a0ca4c402d Replace all uses of strncmp (in split, find, rfind) with memcmp, so
embedded \0 in the delimiter is handled properly.  Thanks to Sjoerd
for suggesting this.
1996-10-04 13:39:37 +00:00
Guido van Rossum 07886d0e01 Rationalize MS #ifdefs 1996-09-11 23:31:42 +00:00
Guido van Rossum f156f503cd Correct typo: return -1 for error, not 0 1996-09-11 23:31:23 +00:00
Guido van Rossum 3863abb921 Correct typo: return -1 for error, not NULL 1996-09-11 23:31:07 +00:00
Guido van Rossum c35f933c44 Add text of argument to errors for atoi(), atol(), atof(). 1996-09-11 23:30:42 +00:00
Guido van Rossum 6beb479b39 Force O_BINARY in flags if defined, for e.g. Microsoft platforms. 1996-09-11 23:22:25 +00:00
Guido van Rossum 622f577eac Dynamically initialize ob_type field, for Windows DLL 1996-09-11 23:18:43 +00:00
Guido van Rossum c864364395 Added lockf() call 1996-09-11 23:17:20 +00:00
Guido van Rossum 6fe01d4ba0 Added Setup.local feature; make shared libs readonly 1996-09-11 23:13:07 +00:00
Fred Drake e1607a8d0e (parsermodule.c): Fixed sloppy typo: '==' -> '=' 1996-09-11 21:58:26 +00:00
Guido van Rossum f62e5bf339 Update based on Python 1.4b3. 1996-09-10 18:09:44 +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 b2fb36498d Sleep() turns out to be win32 specific.
The timezone etc. overrides are win16 specific.
Hope I got this right now...
1996-09-07 00:47:35 +00:00
Guido van Rossum cac6c72105 Some changes for better Windows portability. 1996-09-06 13:34:02 +00:00
Guido van Rossum 6eed906533 Typo (missing _) in _xdr line. 1996-08-30 20:41:30 +00:00
Guido van Rossum 6c0b234006 #include <netconfig.h> seems not needed and is harmful on NeXT, so drop it.
Add proper initialization of rtn = NULL in unpack_double.
1996-08-30 20:39:43 +00:00
Guido van Rossum 213a685cd8 Move backup definition for hypot() to Python/hypot.c. 1996-08-29 18:13:16 +00:00
Guido van Rossum c9970eecc2 Call __initialize(), not __sinit() on Mac dynamic loading entry. 1996-08-26 14:37:15 +00:00
Guido van Rossum 497aedd2ff Get rid of unused local variable. 1996-08-21 23:46:01 +00:00
Guido van Rossum 4f903463b8 Removed environment, objc, sybase modules 1996-08-21 22:15:03 +00:00
Guido van Rossum f00eb71d90 Get rid of some obsolete modules:
- environment.c (we now have os.putenv)
- sybase (a better one is in contrib/Databases/Sybase.*)
- objc.c (incomplete and unsupportable by us)
1996-08-21 22:11:54 +00:00
Guido van Rossum 2a2884645d Patches to make it compile with K&R C 1996-08-21 21:55:43 +00:00
Guido van Rossum 3bcf7d2f0b Avoid complaint about inconsistent hypot() linkage on NT. 1996-08-21 20:36:52 +00:00
Guido van Rossum 171191efb2 Raise ValueError on empty string passed into atoi(), atol(), atof(). 1996-08-21 20:02:25 +00:00
Guido van Rossum 360a934609 Support for old CPP 1996-08-21 19:04:10 +00:00
Guido van Rossum ae92f01029 Hacks to support being a Windows DLL 1996-08-21 19:03:36 +00:00
Guido van Rossum c9fb47ef08 Added delslice and delitem.
Renamed and, or to and_, or_.
Renamed all internal identifiers so as not to start with '__' (which is
a compiler privilege); remove AIX hack.
1996-08-21 17:40:51 +00:00
Guido van Rossum 4747887880 New batch from Fred 1996-08-21 14:32:37 +00:00
Guido van Rossum bf0dc9fb14 Add #define MAC_TCL for Mac. 1996-08-20 20:49:56 +00:00
Guido van Rossum 613b943bf9 *noconfig* -> *shared*.
Add # -lm comment to modules that need it as sharedlib.
1996-08-20 19:50:17 +00:00
Guido van Rossum 4355454232 Support *shared* and *static* as aliases for *noconfig* and *config*. 1996-08-20 19:49:13 +00:00
Guido van Rossum d62d8bced3 Test for xdrmem_create() failure.
Minor lay-out changes.
1996-08-20 19:47:44 +00:00
Guido van Rossum cde317ae62 Install shared libs with executable mode -- needed for HPUX,
doesn't hurt elsewhere.
1996-08-20 19:46:35 +00:00
Guido van Rossum 272841c439 Changes by Rob Hooft for GMP 2.0.2 1996-08-19 23:06:45 +00:00
Guido van Rossum 73363b526e Added _xdr module 1996-08-19 22:58:53 +00:00
Guido van Rossum 7cf1fcf347 Always include config.h 1996-08-19 22:12:39 +00:00
Guido van Rossum 8f3032da10 Declare initregex() as returning void, as it should be. 1996-08-19 22:03:12 +00:00
Guido van Rossum 860986812a Remove some unused variables. 1996-08-19 22:02:43 +00:00
Guido van Rossum 2977e5d660 Declare a bunch of internal routines as returning void. 1996-08-19 22:02:19 +00:00
Guido van Rossum 1720230399 Made it palatable for K&R preprocessors. The spam macros don't have
to work as hard (but "stringizing" is still used, so we test the newly
introduced HAVE_OLD_CPP config define).
1996-08-19 22:01:39 +00:00
Guido van Rossum a29756c1dd Recognize *.sl and *.so as library (i.e. linker) arguments 1996-08-19 22:00:05 +00:00
Guido van Rossum 07b983da99 Incorporate LDFLAGS calculated by configure (for --with-readline) 1996-08-19 21:59:32 +00:00
Guido van Rossum 7ffa7617c7 Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
- Use ckalloc(), ckfree() everywhere.
- Default FREECAST to (char *).
- Added comment with Tcl/Tk version info.
1996-08-13 21:10:16 +00:00
Guido van Rossum 99d90c0d0e Include "mymath.h" instead of manually declaring math functions. 1996-08-08 19:17:45 +00:00
Guido van Rossum 7999a5c525 Added lstrip() and rstrip().
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.
1996-08-08 19:16:15 +00:00
Guido van Rossum 339cfa39d8 Need config.h (for Win etc.) 1996-08-08 19:12:37 +00:00
Guido van Rossum ec185bde77 Added hack to get it to compile on AIX. 1996-08-08 19:12:05 +00:00
Guido van Rossum 8a170cbed6 Rearrange include headers (needed on some platforms). 1996-08-08 19:11:41 +00:00
Guido van Rossum 6412b1de5d Hack for Mac (where fabs is not usable as a function pointer). 1996-08-08 19:10:21 +00:00
Guido van Rossum 97867b2ce2 Add optional casts to free() calls. (Jack)
Set Tk variable argv0 to classname passed in to Tkapp_New.  (Fred)
1996-08-08 19:09:53 +00:00
Guido van Rossum 82df03e35f Rationalized instructions for _tkinter.c 1996-08-08 19:08:47 +00:00
Guido van Rossum 6554419e1b Also remove *.sl (AIX shared libs) in make clean. 1996-08-08 19:07:46 +00:00
Guido van Rossum 1dc19ba2ee Removed 1996-08-08 19:07:06 +00:00
Guido van Rossum a93b504a23 Latest AIX changes from Vlad 1996-08-08 19:06:31 +00:00
Guido van Rossum b4ae6a3999 Re-install aix files (what happened?) 1996-08-08 19:05:09 +00:00
Guido van Rossum 3bedce0185 removed old file 1996-08-08 18:58:45 +00:00
Guido van Rossum 9e43ae4770 Use Tcl/Tk 7.5/4.1 by default. 1996-08-01 00:56:03 +00:00
Guido van Rossum 02530b0f74 Changes for AIX shared libs 1996-07-31 22:43:38 +00:00
Guido van Rossum 32aa1a72b2 getprogramname --> Py_GetProgramName 1996-07-31 19:51:15 +00:00
Guido van Rossum 0c5e3c8d6a DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Clarified some comments.
1996-07-31 17:49:01 +00:00
Guido van Rossum 276de58927 Collect together all detailed installation directories. 1996-07-31 17:37:07 +00:00
Guido van Rossum 557d6d6608 Don't make an exception for NeXT (BBUM says it's no longer needed).
(But hypot() should really be defined in a separate file, triggered by
configure.)
1996-07-30 20:44:31 +00:00
Guido van Rossum 02ca3ab4f7 Remove "." from default path. Also rearrange so that SITEPATH comes
after DESTPATH.
1996-07-30 20:36:59 +00:00
Guido van Rossum 6e12d56cfd Don't have "." in the default path. 1996-07-30 20:36:12 +00:00
Guido van Rossum 2b65444b9f Converted to new style 1996-07-30 16:56:16 +00:00
Guido van Rossum 037b940cd7 Operators like __add__ 1996-07-30 16:55:54 +00:00
Guido van Rossum 63df09acfb Some NeXT changes (default certain symbols to others) 1996-07-30 16:55:34 +00:00
Guido van Rossum d3c1bd3931 Added operator.c. Moved errno.c.
Changes to PYTHONPATH so it includes VERSION
1996-07-30 16:54:03 +00:00
Guido van Rossum 704fef2268 Refinements to installation, now uses $(VERSION) etc. 1996-07-30 16:53:14 +00:00
Guido van Rossum 4daf6adfe1 Added version number to destination.
Forget about the trick to create directories through dependencies --
it's impossible to get it right in the light of parallellizing Make
implementations and the inability to specify dependencies between
directories (because creating the subdirectory modifies the parent).
1996-07-24 02:33:33 +00:00
Guido van Rossum 4dc6622057 Added Sam Rushing's errno module 1996-07-24 00:51:51 +00:00
Guido van Rossum dfe8ad969c Converted to new style names by Skip Montanaro 1996-07-24 00:51:20 +00:00
Guido van Rossum 9687a921c8 Different lines for bsddb module. 1996-07-24 00:42:42 +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 ed7253ca50 Added 3rd optional argument to translate(), a string of characters to delete.
Added maketrans(), a utility to create a translation table.
1996-07-23 18:12:39 +00:00
Guido van Rossum 450b9b33a2 Added Jim Fulton's "asharedmodule" target 1996-07-21 02:35:58 +00:00
Guido van Rossum be6da271a1 Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
Guido van Rossum 3d602e31b1 New submission by Fred Drake. 1996-07-21 02:33:56 +00:00
Guido van Rossum ac56b03f9a New style names for getprogramname and getargcargv 1996-07-21 02:33:38 +00:00
Guido van Rossum 3be7140d31 Rewritten keys() and has_key() to avoid memory leaks. 1996-07-21 02:32:44 +00:00
Guido van Rossum 9e720e390a complex -> Py_complex 1996-07-21 02:31:35 +00:00
Guido van Rossum 6f489d989d Slightly different Windows ifdefs 1996-06-28 20:15:15 +00:00
Guido van Rossum 919c576254 added comments about tcl/tk -l options 1996-06-28 20:13:08 +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 7d844a7c8a aix sharedlib helpers 1996-06-26 21:15:02 +00:00
Guido van Rossum 845547d54b Added CWI copyright.
Updated some comments.
Fixed bug in Merge() called with NULL args.
Get rid of TkDefaultAppName() -- it is not used anywhere.
Pass error message on when Appinit fails.
Create/Delete FileHandler assume fd is a socket on Windows.
1996-06-26 18:26:04 +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 8026febbd6 Made comment for getprogramname() more helpful. 1996-06-20 16:49:26 +00:00
Guido van Rossum be32c8921c More rational support for Windows (tested on Roj's NT 3.5 machine only).
Use PyArg_ParseTuple() where it makes sense.
1996-06-20 16:25:29 +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 2bd37e6c9b Added more entries to create required target subdirectories for sharedinstall. 1996-06-17 17:33:11 +00:00
Guido van Rossum 529c963d36 Test for zero-length argument in capitalize(). 1996-06-17 16:59:33 +00:00
Guido van Rossum 26b310a3fd Added new.instance(class, dict). 1996-06-17 16:56:56 +00:00
Guido van Rossum 2745753b91 added capitalize() 1996-06-12 04:24:52 +00:00
Guido van Rossum 4f0fbf884b Yet another pass at fd2obj -- this time for Windows 1996-06-12 04:22:53 +00:00
Guido van Rossum c34c9a5001 provide access to $(exec_)prefix 1996-06-12 04:20:27 +00:00
Guido van Rossum 006bf91530 ntohs, ntohl, htons, htonl -- thanks to Lance 1996-06-12 04:04:55 +00:00
Guido van Rossum d639d4d6d6 more changes for Windows, sigh 1996-06-12 04:04:22 +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 65af28a0f4 Calculate length of AF_UNIX addr struct portably in getsockaddrarg(). 1996-06-11 18:36:33 +00:00
Guido van Rossum 53a9bf8164 Get rid of obsolete allowbroadcast().
Avoid core dumps in resizestring().
1996-06-11 18:35:24 +00:00
Guido van Rossum ab28c56fd3 Avoid core dump on symcomp(""). 1996-06-11 18:33:14 +00:00
Guido van Rossum 3c0b79ca0f A fcntl implementation for systems (like Solaris) without flock() call.
By Sjoerd.
1996-06-11 15:11:34 +00:00
Guido van Rossum 1835c4f1b4 Use correct field of sigaction struct 1996-05-29 14:15:19 +00:00
Guido van Rossum a0e71303d9 Changed NT -> MSC or WATCOM 1996-05-28 22:30:38 +00:00
Guido van Rossum 582646aecc grand renaming; added copyright to some files 1996-05-28 22:30:17 +00:00
Guido van Rossum ddcb36b5da Use ../install-sh to install files. 1996-05-24 21:14:44 +00:00
Guido van Rossum 9c8a0c4b1c Made all c_* symbols static. 1996-05-24 21:12:28 +00:00
Guido van Rossum 53d0de4b05 rename exported symbols with _Py_ prefix 1996-05-24 20:51:38 +00:00
Guido van Rossum 3d86cc0dbc make soundex_hash static 1996-05-24 20:50:57 +00:00
Guido van Rossum a4916fa54f Added mkfifo, ftruncate. Windows/PC changes. 1996-05-23 22:58:55 +00:00
Guido van Rossum dd96ca77da Be more careful about default args. 1996-05-23 22:57:54 +00:00
Guido van Rossum 2c26cfe776 Use struct _inittab def from import.h 1996-05-23 22:57:18 +00:00
Guido van Rossum 3539b1e919 Added flock(). 1996-05-23 22:56:38 +00:00
Guido van Rossum 7081cf54bf Microsoft C changes 1996-05-23 22:56:19 +00:00
Guido van Rossum 88661e8f41 Subtle Windows changes 1996-05-23 22:55:58 +00:00
Guido van Rossum fb0df944ca Use sigaction if possible 1996-05-23 22:55:35 +00:00
Guido van Rossum 5555854e85 Windows/PC changes 1996-05-23 22:54:50 +00:00
Guido van Rossum 5038412d0f Added __doc__ strings. Added get_soundex(). 1996-05-23 22:54:17 +00:00
Guido van Rossum bceeac8dc1 Watcom changes.
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().
1996-05-23 22:53:47 +00:00
Guido van Rossum 6878436366 Patch from the net for 4.1 file handler changes. 1996-05-16 17:17:31 +00:00
Guido van Rossum 54ac1891fb Add __sinit() call according to Jack. 1996-05-16 17:14:03 +00:00
Guido van Rossum dc1c64a148 remove unused variables 1996-02-27 15:21:19 +00:00
Guido van Rossum 1b66a4f01d default CLOCKS_PER_SEC to CLK_TCK if it exists 1996-02-25 04:50:33 +00:00
Guido van Rossum b0824db52c Made 2nd arg to mkdir optional 1996-02-25 04:50:32 +00:00
Guido van Rossum 1266a01e47 Include ncurses.h where needed 1996-02-25 04:50:31 +00:00
Guido van Rossum 468fc6af68 Include stdlib.h or declare getenv 1996-02-25 04:50:31 +00:00
Guido van Rossum 485f2da5a1 Add unsigned char cast 1996-02-25 04:50:30 +00:00
Guido van Rossum ec22c92e36 Changes needed to build with Tcl/Tk beta 2! 1996-02-25 04:50:29 +00:00
Guido van Rossum dfd428dd7e Changes to make it work with Tcl/Tk beta 1. 1996-02-25 04:46:40 +00:00
Jack Jansen 508537b9c9 Include GUSI.h if using gusi-sockets 1996-02-14 15:57:45 +00:00
Guido van Rossum 5416e20037 mark strftime as varargs 1996-02-13 00:14:09 +00:00
Guido van Rossum f4a5912d51 add remove==unlink; mark strftime as varargs 1996-02-13 00:12:56 +00:00
Guido van Rossum ad1f7eeb32 get rid of bogus name for init_tkinter() 1996-02-13 00:11:37 +00:00
Guido van Rossum 05a6d8f4c7 remove rcs history 1996-01-26 21:10:22 +00:00
Guido van Rossum e36e1fe516 support fast mode for gdmb 1996-01-26 21:08:01 +00:00
Jack Jansen 76c79e9ba8 Added 16-bit pixel support for some operations. 1996-01-22 14:55:15 +00:00
Jack Jansen ba1de3bafb Fixed off-by-one error in rle-decode, and allow whitespace in base64
ascii input (thanks to Donald Beaudry for pointing these out)
1996-01-22 10:47:15 +00:00
Guido van Rossum 00bd2e5853 adde cmath; added version numbers to tk/tcl libs 1996-01-12 01:40:19 +00:00
Guido van Rossum 3206268692 added default hypot() implementation 1996-01-12 01:39:11 +00:00
Guido van Rossum b123691384 64-bit patch 1996-01-12 01:38:49 +00:00
Guido van Rossum b28911cdef added new.classobj() 1996-01-12 01:38:22 +00:00
Guido van Rossum c0fd1c0b83 fix argcount bug for build_node_children 1996-01-12 01:37:02 +00:00
Guido van Rossum ca42b1673b clear addr buffer before calling getsockname 1996-01-12 01:36:05 +00:00
Guido van Rossum 71aa32f4af complex math 1996-01-12 01:34:57 +00:00
Jack Jansen 5d9579707f Allow '@' for ' ' in uuencoded files. 1995-11-14 10:35:19 +00:00
Jack Jansen 40b546d40e Initialize GUSI on the mac. 1995-11-14 10:34:45 +00:00
Jack Jansen 34cc5c31e8 Fix to load needed resources on a mac 1995-10-31 16:15:12 +00:00
Jack Jansen ba0311ecff Renamed module tkinter to _tkinter, moved source to _tkinter.c 1995-10-23 14:34:14 +00:00
Guido van Rossum b50667d229 rename binasciimodule.c -> binascii.c; disable parsermodule.c 1995-10-12 00:41:40 +00:00
Guido van Rossum d9e9f9c05d Fred Drake's new parser module 1995-10-11 17:35:38 +00:00
Guido van Rossum c1822a4dd1 changes by Steve Clift 1995-10-11 16:15:28 +00:00
Sjoerd Mullender 7d0590b544 Removed declaration of sginap because it conflicted with a header file. 1995-10-11 08:47:28 +00:00
Sjoerd Mullender 4237efc7f0 Propagate variable calls both to the linker and the compiler. 1995-10-11 08:45:15 +00:00
Guido van Rossum 903f487684 add BGN/END_SAVE macros around fcntl/ioctl calls 1995-10-07 19:18:22 +00:00
Jack Jansen 84bbc2e3e3 Added base64 support 1995-10-04 16:38:44 +00:00
Jack Jansen 8ccfc93c2f Removed unused variable 1995-10-03 14:39:44 +00:00
Guido van Rossum 275fbe21c9 Move some stuff around so customizations in Setup take precedence 1995-09-30 17:01:49 +00:00
Guido van Rossum 896fc7ed4a re-enable new.code(...) with new args 1995-09-30 17:01:02 +00:00
Guido van Rossum 64b24fb062 clear quitMainLoop when we fall through the main loop 1995-09-30 17:00:24 +00:00
Guido van Rossum 9722ad8883 Mac changes 1995-09-22 23:49:28 +00:00
Guido van Rossum 7c53b77733 plug some leaks 1995-09-13 18:39:47 +00:00
Guido van Rossum 1c20648ba2 added SITEPATH and DESTPATH variables 1995-09-13 18:39:04 +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 a3127e8e11 added strop.translate(s, table) 1995-09-13 17:39:06 +00:00
Guido van Rossum 8d8c1eeed7 added time.strftime() 1995-09-13 17:38:35 +00:00
Jack Jansen 0223aa11d8 Obscure bugfix 1995-08-31 13:44:23 +00:00
Guido van Rossum f45e586ed0 fix typo in bsddb entry 1995-08-30 23:44:41 +00:00
Guido van Rossum 1100dca602 Initial revision 1995-08-30 23:43:03 +00:00
Guido van Rossum d639b45ed6 dbhash -> bsddb 1995-08-28 02:59:06 +00:00
Guido van Rossum e03f277a22 fix bug in close() 1995-08-28 02:58:31 +00:00
Guido van Rossum 66017aa1b8 fix leaks in keys(); fix bug in close() 1995-08-28 02:58:00 +00:00
Jack Jansen eaeb1c825d Added missing 'leftchar' initializer. 1995-08-14 12:17:57 +00:00
Jack Jansen dc977a99e0 Shuffled include's around (name conflict on Mac wrt teclick()) 1995-08-14 12:17:18 +00:00
Guido van Rossum 45a910475c added MACHDEP back in 1995-08-08 14:18:12 +00:00
Jack Jansen 727811907c Helper module for uuencode and binhex coders 1995-08-07 14:34:15 +00:00
Guido van Rossum 667d704997 Initial revision 1995-08-04 04:20:48 +00:00
Guido van Rossum 37ba0bc50b split config.c in 1000 parts; new main; new unfinished objective-C module 1995-08-04 04:20:45 +00:00
Guido van Rossum b158909b45 \temporary 'fix' for brokenness 1995-07-28 16:44:53 +00:00
Guido van Rossum 07b14dd8bc add locking where it exists 1995-07-26 17:33:44 +00:00
Guido van Rossum ef38b78f94 use newgetargs 1995-07-26 17:33:10 +00:00
Guido van Rossum f8afdcfef0 improved comments for curses, dbhash 1995-07-26 17:31:41 +00:00
Guido van Rossum e42fc2fd37 use getnewargs where it makes sense 1995-07-26 17:29:45 +00:00
Guido van Rossum cf1025ba0d fixed arg checking for keys() and close() 1995-07-18 18:33:09 +00:00
Guido van Rossum 79ae53e8f0 Initial revision 1995-07-18 18:23:44 +00:00
Guido van Rossum ae75f4955e added dbhash; Tk is now officially at 4.0 1995-07-18 18:18:11 +00:00
Guido van Rossum 24f42ac74c suppress . and .. in listdir return value 1995-07-18 18:16:52 +00:00
Guido van Rossum 064a62bc8a err() should be varargs -- and fix one call 1995-07-07 22:39:14 +00:00
Guido van Rossum ef4ee62a0f added getpalatform() 1995-07-07 22:38:14 +00:00
Guido van Rossum 807b7bec06 normalized flag arg and made flag, mode default args; minor cosmetics 1995-07-07 22:37:11 +00:00
Guido van Rossum 55ea8a7b5b pass $PLATFORM into config.c 1995-07-07 22:35:21 +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 4a2698648e fix NL for Linux bash bug; special processing for -u options 1995-06-14 22:52:06 +00:00
Guido van Rossum ac56297421 edited RCS cruft 1995-06-14 22:49:20 +00:00
Guido van Rossum 31affb2e42 new modules soundex.c and environment.c 1995-06-14 22:31:38 +00:00
Guido van Rossum 30b6b2b032 add setblocking(); NT changes; null-terminate Unix path 1995-06-14 22:28:08 +00:00