summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
Commit message (Collapse)AuthorAgeFilesLines
* Patch #497098: build support for GNU/Hurd.Martin v. Löwis2002-01-011-3/+9
|
* Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED andMartin v. Löwis2001-10-241-0/+6
| | | | | | STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize access to _flags on systems where WINDOW is opaque. Fixes bugs #432497, #422265, and the curses parts of #467145 and #473150.
* SF patch #460805 by Chris Gonnerman: Support for unsetenv()Guido van Rossum2001-10-191-7/+10
| | | | | | | | This adds unsetenv to posix, and uses it in the __delitem__ method of os.environ. (XXX Should we change the preferred name for putenv to setenv, for consistency?)
* SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.Guido van Rossum2001-10-181-0/+9
| | | | | | | | | | | | | | | | | This is a big one, touching lots of files. Some of the platforms aren't tested yet. Briefly, this changes the return value of the os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the time functions localtime(), gmtime(), and strptime() from tuples into pseudo-sequences. When accessed as a sequence, they behave exactly as before. But they also have attributes like st_mtime or tm_year. The stat return value, moreover, has a few platform-specific attributes that are not available through the sequence interface (because everybody expects the sequence to have a fixed length, these couldn't be added there). If your platform's struct stat doesn't define st_blksize, st_blocks or st_rdev, they won't be accessible from Python either. (Still missing is a documentation update.)
* Shut up warnings for setgroups() on Linux -- you have to #includeGuido van Rossum2001-10-181-7/+10
| | | | <grp.h> it seems. This requires yet another configure test.
* Expose setgroups. Fixes feature request #468116.Martin v. Löwis2001-10-181-0/+3
|
* Do not define _POSIX_THREADS if unistd.h defines it.Martin v. Löwis2001-10-151-0/+3
| | | | Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
* Check for term.h and include it on non-ncurses system to get a declarationMartin v. Löwis2001-10-131-0/+3
| | | | for tigetstr.
* Add chroot call. Implements feature #459267.Martin v. Löwis2001-10-041-0/+3
|
* Patch #462122: add readline startup and pre_event hooks.Martin v. Löwis2001-09-301-0/+3
|
* Improve threading on Solaris, according to SF patch #460269, submittedGuido van Rossum2001-09-101-0/+3
| | | | | | | | | | by bbrox@bbrox.org / lionel.ulmer@free.fr. This adds a configure check and if all goes well turns on the PTHREAD_SCOPE_SYSTEM thread attribute for new threads. This should remove the need to add tiny sleeps at the start of threads to allow other threads to be scheduled.
* This time (I hope) I've fixed largefileGuido van Rossum2001-09-091-3/+1
| | | | | | support on Linux (and Solaris, I expect) for real. The necessary symbols are defined once and for all, under the assumption that they won't harm elsewhere.
* Revert parts of patch #453627, documenting the resulting test failuresMartin v. Löwis2001-09-061-2/+0
| | | | instead.
* Move UnixWare 7 defines to acconfig.h, regenerate pyconfig.h.in.Martin v. Löwis2001-09-051-0/+8
|
* Changes to automatically enable large file support on some systems.Guido van Rossum2001-09-051-7/+6
| | | | | | | | | | | | | | | | | | | | | I believe this works on Linux (tested both on a system with large file support and one without it), and it may work on Solaris 2.7. The changes are twofold: (1) The configure script now boldly tries to set the two symbols that are recommended (for Solaris and Linux), and then tries a test script that does some simple seeking without writing. (2) The _portable_{fseek,ftell} functions are a little more systematic in how they try the different large file support options: first try fseeko/ftello, but only if off_t is large; then try fseek64/ftell64; then try hacking with fgetpos/fsetpos. I'm keeping my fingers crossed. The meaning of the HAVE_LARGEFILE_SUPPORT macro is not at all clear. I'll see if I can get it to work on Windows as well.
* Patch #453627: Define the following macros when compiling on a UnixWare 7.x ↵Martin v. Löwis2001-09-051-0/+7
| | | | | | | system: SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES. Work aroudn a bug in the SCO UnixWare atan2() implementation.
* Fix portability problems with glibc 2.0, as reported in #449157.Martin v. Löwis2001-08-151-0/+3
|
* Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis2001-08-101-0/+3
| | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
* Expose nl_langinfo through locale where available.Martin v. Löwis2001-08-101-0/+3
|
* Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the threeMartin v. Löwis2001-08-041-0/+3
| | | | exception classes in the module dictionary.
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-0/+706