Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From ca7271f40f885af9 To e72d624507572a94
2013-07-08
| ||
06:51 | Build stub objects with -DSTATIC_BUILD on all platforms. Only important on win32 (already done) and ... check-in: 15c829bcbe user: jan.nijtmans tags: trunk | |
2013-07-07
| ||
15:43 | First part of upcoming TIP - Improving [exec]'s syntax : the syntax extension (not the new redirects... Leaf check-in: ca7271f40f user: ferrieux tags: tip-improve-exec | |
11:57 | merge trunk check-in: da2f2cfb27 user: dkf tags: dkf-improved-disassembler | |
09:15 | merge-mark check-in: e72d624507 user: jan.nijtmans tags: trunk | |
02:19 | OpenBSD/m88k is now elf. Remove unneeded elf check. check-in: 62f5521264 user: stwo tags: core-8-5-branch | |
02:11 | OpenBSD/m88k is now elf. Remove unneeded elf check. check-in: 6340b1084c user: stwo tags: trunk | |
Changes to generic/tclPipe.c.
︙ | |||
498 499 500 501 502 503 504 | 498 499 500 501 502 503 504 505 506 507 508 509 510 511 | - - - | const char *p; const char *nextArg; int skip, lastBar, lastArg, i, j, atOK, flags, needCmd, errorToOutput = 0; Tcl_DString execBuffer; TclFile pipeIn; TclFile curInFile, curOutFile, curErrFile; Tcl_Channel channel; |
︙ | |||
536 537 538 539 540 541 542 | 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 | - - - - - - - - - | * list. */ lastBar = -1; cmdCount = 1; needCmd = 1; for (i = 0; i < argc; i++) { |
︙ | |||
715 716 717 718 719 720 721 | 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 | - - - - - - - - - - - - - - - - + + + + + - | if (errorFile == NULL) { goto error; } } break; default: |
︙ | |||
879 880 881 882 883 884 885 | 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 | - - - - - - - - - - - - - - - - - - - - + + + + + + - | */ Tcl_ReapDetachedProcs(); pidPtr = ckalloc(cmdCount * sizeof(Tcl_Pid)); curInFile = inputFile; |
︙ | |||
948 949 950 951 952 953 954 | 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 | - - - - - - - - - - - - - - - - - + + + + + + + + + + - | if (joinThisError != 0) { curErrFile = curOutFile; } else { curErrFile = errorFile; } |
︙ | |||
1053 1054 1055 1056 1057 1058 1059 | 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 | - - - - | for (i = 0; i < numPids; i++) { if (pidPtr[i] != (Tcl_Pid) -1) { Tcl_DetachPids(1, &pidPtr[i]); } } ckfree(pidPtr); } |
︙ |
Changes to tests/exec.test.
︙ | |||
368 369 370 371 372 373 374 | 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 | - + | # Errors in executing the Tcl command, as opposed to errors in the processes # that are invoked. test exec-10.1 {errors in exec invocation} -constraints {exec} -body { exec } -returnCodes error -result {wrong # args: should be "exec ?-switch ...? arg ?arg ...?"} test exec-10.2 {errors in exec invocation} -constraints {exec} -body { |
︙ | |||
678 679 680 681 682 683 684 | 678 679 680 681 682 683 684 685 686 687 688 689 690 691 | - - - - - - | # Check that no bytes have got lost through mixups with overlapping # appends, which is only guaranteed to work when we set O_APPEND on the # file descriptor in the [exec >>...] file size $tmpfile } -cleanup { removeFile $tmpfile } -result 14 |
︙ |