summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-301-1/+1
| | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
* Bugfix [9ece99d58b]. Make exec understand .CMD files on Windows.ashok2016-07-091-3/+4
|
* Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead ↵jan.nijtmans2015-06-241-6/+6
| | | | of int for more internal variables.
* Added comments raising questions about possible updates to channeldgp2014-03-211-0/+6
| | | drivers on Windows.
* Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max.jan.nijtmans2013-11-161-3/+3
|
* Eliminate a lot of dead code (for Windows 95/98/ME only). jan.nijtmans2013-06-191-10/+3
| | | Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
* Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-2/+0
|\
| * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-2/+0
| |
| * [Bug #3362446]: registry keys command fails with 8.5/8.6. Follow Microsofts ↵jan.nijtmans2012-07-111-1/+1
| | | | | | | | | | example better in order to prevent problems when using HKEY_PERFORMANCE_DATA. Forgot one important '%'
| * add TCL_I_MODIFIER and use it in the correct placesjan.nijtmans2012-07-081-1/+1
| |
* | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-17/+20
| |
* | Purge use of Tcl_AppendElement, and corrected conversion of PIDs to integerdkf2012-07-311-10/+11
| | | | | | objects.
* | [Bug 3547994]: Abandon the synchronous Windows pipe driver to its fate when ↵ferrieux2012-07-251-4/+22
| | | | | | | | needed to honour TIP#398.
* | 1189293 Make "<<" binary safe.dgp2012-07-051-1/+3
|\ \ | |/
| * 1189293 Make "<<" binary safe.dgp2012-07-051-1/+3
| |\
| | * 1189293 Make '<<' redirects binary safe. Don't use strlen() (or equivalent)bug_1189293dgp2012-07-021-1/+3
| | | | | | | | | to find end of written data bytes.
* | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-7/+7
| | |
| | |
| \ \
*-. \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+1
|\ \ \ \ | | |/ / | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+1
| | |\ \ | |/ / / | | | _ | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+1
| | |\ | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | | * merge trunkjan.nijtmans2012-04-241-1/+1
| | | |\ | | | |/ | | |/|
| | | * tclpGetPid signature change (stub entry only, not for macro),jan.nijtmans2012-04-061-1/+1
| | | | | | | | | | | | | | | | for win64 compatibility with future cygwin64 correctly use win32 as default when cross-compiling under cygwin
* | | | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ \ \ | |/ / /
| * | | make some more internal tables constjan.nijtmans2012-04-231-1/+1
| |\ \ \ | | |/ /
| | * | make some more internal tables constjan.nijtmans2012-04-231-1/+1
| | |/ | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-15/+0
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-25/+0
| | |
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-091-9/+0
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-091-9/+0
| | |
* | | minor gcc compiler warning with -Wwrite-stringsjan.nijtmans2011-07-071-2/+2
| | |
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+2
| | | | | | | | | Tcl_PosixError).
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-12/+12
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | MSVC 6 does not have the %I modifier in sprintfjan.nijtmans2011-03-071-1/+1
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * win/tclWinPipe.c (Tcl_WaitPid): Backport of fix made to the headandreas_kupries2006-03-141-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by David Gravereaux in 2004. See ChangeLog entry 2004-01-19. [Bug 1381436]. Fixed a thread-safety problem with the process list. The delayed cut operation after the wait was going stale by being outside the list lock. It now cuts within the lock and does a locked splice for when it needs to instead. [Bug 859820]
| | * Finalization of the pipes are now solely done in TclpFinalizePipes andvasiljevic2006-03-101-34/+11
| | | | | | | | | | | | | | | | | | not over the thread-exit handler, because the order of actions the Tcl generic core will impose may result in cores/hangs if the thread exit handler tearis down pipes too early (see Bug # 1437595).
| | * * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman whichpatthoyts2005-11-041-12/+8
| | | | | | | | | | | | | | | * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature.
| | * Backport of fix for [Bug 1245953]dkf2005-07-281-2/+2
| | |
| | * bug 1225044Kevin B Kenny2005-06-221-21/+41
| | |
| | * bug 1225727Kevin B Kenny2005-06-221-7/+4
| | |
| | * bugs 1194458 and 1225044Kevin B Kenny2005-06-211-32/+17
| | |
| | * * win/tclWinPipe.c: The pipe channel driver now respectsdavygrvy2005-04-191-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the -blocking option when closing. The windows pipe driver now has the same behavior as the UNIX side. This change is to avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. [Bug 947693] ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired.
| | * TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
| | * (TclpCreateProcess): When under NT, with no console, and executing adavygrvy2004-05-101-2/+2
| | | | | | | | | | | | | | | DOS application, the path priming does not need an ending space as BuildCommandLine() will do this for us.
| | * (BuildCommandLine): Append a space when the path got primed.davygrvy2004-05-101-4/+6
| | |
| | * backport of BuildCommandLine changes to mirror msvcrt's parse_cmdline() ↵davygrvy2004-02-251-16/+10
| | | | | | | | | | | | rules of quoting
| | * * win/tclWinPipe.c (BuildCommandLine): Applied the patch comingandreas_kupries2003-10-211-3/+6
| | | | | | | | | | | | | | | with [Bug 805605] to the code, fixing the incorrect use of ispace noted by Ronald Dauster <ronaldd@users.sourceforge.net>.
| | * * win/tclWinPipe.c: fixed a bug in BuildCommandLine.mdejong2003-10-041-2/+3
| | | | | | | | | | | | | | | | | | This bug built a command line with a missing space between tclpipe.dll and the following arguments. It caused error in Windows 98 when exec command.com (e.g. dir) [Bug 789040]