summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 9.0jan.nijtmans2023-04-201-1/+1
|\
* \ Merge 9.0jan.nijtmans2023-04-141-2/+2
|\ \ | |/
| * Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-2/+2
| |\ | | | | | | | | | non-comment corrections in history.tcl and tcltest.test.
| | * Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-2/+2
| | | | | | | | | corrections in history.tcl and tcltest.test.
* | | Merge 9.0jan.nijtmans2023-03-301-3/+3
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2023-03-301-3/+3
| |\ \ | | |/
| | * Merge 8.6jan.nijtmans2023-03-301-3/+3
| | |\
| | | * Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it ↵jan.nijtmans2023-03-301-3/+3
| | | | | | | | | | | | | | | | on other platforms either.
* | | | Merge 9.0jan.nijtmans2022-09-041-1/+1
|\ \ \ \ | |/ / /
| * | | Some more (internal) ClientData -> void * changesjan.nijtmans2022-09-021-1/+1
| | | |
* | | | Merge 9.0jan.nijtmans2022-08-221-5/+5
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2022-07-191-5/+5
| |\ \ \ | | |/ /
| | * | Make a start converting -1 -> TCL_INDEX_NONE where appropriatejan.nijtmans2022-07-191-5/+5
| | | |
* | | | Merge 9.0jan.nijtmans2022-06-151-3/+3
|\ \ \ \ | |/ / /
| * | | Some int argc -> size_t argcjan.nijtmans2022-06-131-3/+3
| | | |
* | | | Many int-> size_tjan.nijtmans2022-05-251-1/+1
|/ / /
* | | Use size_t in AuxDataPrintProcjan.nijtmans2022-03-011-1/+1
| | |
* | | Some more int -> size_t in internal APIjan.nijtmans2022-02-231-7/+7
| | |
* | | More int -> size_t in internal APIjan.nijtmans2022-02-171-2/+3
| | |
* | | Merge 8.7jan.nijtmans2020-12-081-2/+2
|\ \ \ | |/ /
| * | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-2/+2
| | | | | | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | | Merge 8.7jan.nijtmans2020-10-131-2/+3
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-10-131-2/+3
| |\ \ | | |/
| | * More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-2/+3
| | | | | | | | | | | | stead of Tcl_NewIntObj()
| | * Merge-mark 8.5. Remove some ARGSUSED usage.jan.nijtmans2020-04-171-3/+0
| | |\
| | | * Unbreak shared windows build. Remove some ARGSUSED usage.jan.nijtmans2020-04-171-4/+0
| | | |
* | | | merge 8.7dgp2020-03-171-3/+0
|\ \ \ \ | |/ / /
| * | | TIP 569 - remove lint commentsdgp2020-03-171-3/+0
| | | |
* | | | merge 8.7dgp2020-03-091-6/+3
|\ \ \ \ | |/ / /
| * | | TCL_UNUSED in the unix sources.dgp2020-03-091-6/+3
| | | |
* | | | Merge 8.7jan.nijtmans2020-02-281-1/+1
|\ \ \ \ | |/ / /
* | | | Merge 8.7jan.nijtmans2020-02-281-27/+30
|\ \ \ \ | |/ / /
| * | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-0/+3
| |\ \ \ | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
| * | | | Experiment: compile Tcl with C++ compiler. WIPjan.nijtmans2019-07-041-27/+27
| |/ / /
* | | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵jan.nijtmans2019-02-051-2/+2
| | | | | | | | | | | | | | | | more. Remove many type-casts which are not necessary any more.
* | | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-2/+2
|\ \ \ \ | |/ / / | | | | | | | | >2GiB in more places.
| * | | If compiled with -DTCL_NO_DEPRECATED, remove ↵jan.nijtmans2018-12-121-3/+3
| | | | | | | | | | | | | | | | | | | | Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow.
* | | | Merge 8.7jan.nijtmans2018-12-111-3/+3
|\ \ \ \ | |/ / / | | | | | | | | In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments.
* | | | Formatting, PTR2INT range improvements, and remove some macro's only used on ↵jan.nijtmans2018-10-211-2/+2
| | | | | | | | | | | | | | | | Cygwin, which are no longer necessary
* | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-4/+4
|/ / / | | | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-1/+1
|/ /
* | Remove a number of eol-spaces. No change in functionality.jan.nijtmans2014-11-141-2/+2
| |
* | [1211aceef2] Fix refcount management of TclpTempFileName() that caused leak.dgp2014-07-111-2/+4
| |
* | Correct the interest masks in the Tcl_CreateFileHandler() calls in ↵dgp2014-05-311-2/+2
|\ \ | | | | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe.
| * | Correct the interest masks in the Tcl_CreateFileHandler() calls indgp2014-05-311-2/+2
| |/ | | | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe.
| * * unix/tclUnixPipe.c (DefaultTempDir): [Bug 2933003]: Allow overridingdkf2012-11-141-2/+51
| |\ | | | | | | | | | | | | | | | of the back-stop default temporary file location at compile time by setting the TCL_TEMPORARY_FILE_DIRECTORY #def to a string containing the directory name (defaults to "/tmp" as that is the most common default).
| | * Backport from Tcl 8.6.dkf2012-11-141-2/+40
| | | | | | | | | | | | | | | | | | | | | * unix/tclUnixPipe.c (DefaultTempDir): [Bug 2933003]: Allow overriding of the back-stop default temporary file location at compile time by setting the TCL_TEMPORARY_FILE_DIRECTORY #def to a string containing the directory name (defaults to "/tmp" as that is the most common default).
* | | * unix/tclUnixFCmd.c (TclUnixOpenTemporaryFile): [Bug 2933003]: Factordkf2012-11-141-32/+11
| | | | | | | | | | | | | | | | | | | | | out all the code to do temporary file creation so that it is possible to make it correct in one place. Allow overriding of the back-stop default temporary file location at compile time by setting the TCL_TEMPORARY_FILE_DIRECTORY #def to a string containing the directory name (defaults to "/tmp" as that is the most common default).
* | | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-31/+33
| | |
* | | Purge use of Tcl_AppendElement, and corrected conversion of PIDs to integerdkf2012-07-311-9/+11
| | | | | | | | | objects.