Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #1309352: fcntl now converts its third arguments to a C `long` rather | Antoine Pitrou | 2009-05-24 | 1 | -2/+2 |
| | | | | | than an int, which makes some operations possible under 64-bit Linux (e.g. DN_MULTISHOT with F_NOTIFY). | ||||
* | Patch by Ian Charnas from issue 3517. | Guido van Rossum | 2008-08-07 | 1 | -0/+5 |
| | | | | Add F_FULLFSYNC if it exists (OS X only so far). | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -3/+3 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -3/+3 |
| | |||||
* | #2890: support os.O_ASYNC and fcntl.FASYNC. | Georg Brandl | 2008-05-16 | 1 | -0/+3 |
| | |||||
* | Prevent ioctl op codes from being sign extended from int to unsigned long | Gregory P. Smith | 2008-03-19 | 1 | -5/+14 |
| | | | | | | | | | | | when used on platforms that actually define ioctl as taking an unsigned long. (the BSDs and OS X / Darwin) Adds a unittest for fcntl.ioctl that tests what happens with both positive and negative numbers. This was done because of issue1471 but I'm not able to reproduce -that- problem in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit. | ||||
* | Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst. | Georg Brandl | 2008-01-05 | 1 | -1/+1 |
| | |||||
* | Tweak wording | Andrew M. Kuchling | 2006-07-29 | 1 | -1/+1 |
| | |||||
* | Fix function name in error msg | Neal Norwitz | 2006-07-12 | 1 | -1/+1 |
| | |||||
* | SF bug/patch #1433877: string parameter to ioctl not null terminated | Thomas Wouters | 2006-04-25 | 1 | -5/+10 |
| | | | | | | | The new char-array used in ioctl calls wasn't explicitly NUL-terminated; quite probably the cause for the test_pty failures on Solaris that we circumvented earlier. (I wasn't able to reproduce it with this patch, but it has been somewhat elusive to start with.) | ||||
* | Explain why we use the unsigned int format for a signed int variable. | Thomas Wouters | 2006-03-02 | 1 | -0/+4 |
| | | | | (Should 'code' be cast to the right pointer type?) | ||||
* | Make Py_ssize_t-clean | Thomas Wouters | 2006-03-02 | 1 | -2/+4 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Fix a typo. (found by Jong-uk Kim) | Hye-Shik Chang | 2005-07-28 | 1 | -1/+1 |
| | |||||
* | This is barry-scott's patch: | Michael W. Hudson | 2005-07-27 | 1 | -3/+3 |
| | | | | | | | | [ 1231069 ] ioctl has problem with -ive request codes by using the 'I' not the 'i' format code to PyArg_ParseTuple(). Backport candidate? Maybe... | ||||
* | Hear the #error: change the default value of the mutable_arg argument | Michael W. Hudson | 2004-11-30 | 1 | -11/+1 |
| | | | | to ioctl() and remove the warning when it is not supplied. | ||||
* | Warn abou missing mutate flag to ioctl. Fixes #696535. | Martin v. Löwis | 2004-06-03 | 1 | -1/+7 |
| | |||||
* | Fix typo, refer to proper argument name | Neal Norwitz | 2003-06-30 | 1 | -1/+1 |
| | |||||
* | Simple fix for | Michael W. Hudson | 2003-05-09 | 1 | -0/+5 |
| | | | | [ 733781 ] fcntl fails to build on old RH Linux | ||||
* | Patch #708495: Port more stuff to OpenVMS. | Martin v. Löwis | 2003-05-03 | 1 | -0/+4 |
| | |||||
* | Fix bug | Michael W. Hudson | 2003-03-03 | 1 | -11/+83 |
| | | | | | | | | [ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!). | ||||
* | Expose I_ constants. Auto-detect stropts.h. Properly configure the slave ↵ | Martin v. Löwis | 2003-01-01 | 1 | -1/+38 |
| | | | | terminal. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -12/+10 |
| | |||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c | ||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -4/+0 |
| | |||||
* | Add fcntl.h constants from glibc 2.2.4. Fixes #496171. | Martin v. Löwis | 2001-12-28 | 1 | -0/+70 |
| | |||||
* | fcntl.ioctl(): Update error message; necessity noted by Michael Hudson. | Fred Drake | 2001-05-14 | 1 | -1/+3 |
| | |||||
* | Fix the fcntl() docstring so the user is not mis-directed to the FCNTL | Fred Drake | 2001-05-10 | 1 | -7/+7 |
| | | | | module for useful constants. | ||||
* | Modify to allow file objects wherever file descriptors are needed. | Fred Drake | 2001-05-09 | 1 | -8/+71 |
| | | | | | | | | This closes SF bug #231328. Added all constants needed to use the functions defined in this module that are not defined elsewhere (the O_* symbols are available in the os module). No additonal modules are needed to use this now. | ||||
* | Let's keep things portable to non GCC compilers, please. | Sjoerd Mullender | 2001-01-25 | 1 | -22/+22 |
| | | | | You can only use mult-line strings in C if each line ends in \. | ||||
* | lockf_doc: a much better description of the lockf() function, based on | Barry Warsaw | 2001-01-25 | 1 | -4/+23 |
| | | | | an eyeballing of the code. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Do the absolute minimal amount of modifications to eradicate | Barry Warsaw | 2000-09-01 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c | ||||
* | Rob Hooft (Patch #101046): use PyArg_ParseTuple everywhere. | Guido van Rossum | 2000-08-02 | 1 | -21/+27 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -18/+6 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Massive patch by Skip Montanaro to add ":name" to as many | Guido van Rossum | 2000-02-29 | 1 | -1/+1 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -9/+33 |
| | | | | He also fixes thread-related evil that caused core dumps. | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Doc strings by Chris Petrilli. | Guido van Rossum | 1998-11-23 | 1 | -6/+44 |
| | |||||
* | Keep gcc -Wall happy | Guido van Rossum | 1997-08-15 | 1 | -0/+1 |
| | |||||
* | Add definitions for symbolic constants LOCK_{EX,NB,SH,UN}. | Guido van Rossum | 1997-07-31 | 1 | -0/+25 |
| | |||||
* | Opps, left in a /*#include "modsupport.h"*/ | Roger E. Masse | 1996-12-17 | 1 | -1/+0 |
| | |||||
* | Grandly renamed. | Roger E. Masse | 1996-12-17 | 1 | -61/+65 |
| | |||||
* | Include <sys/ioctl.h>, to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+1 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -2/+8 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| |