|
2002-10-26
| ||
| 14:58 | • Closed ticket [618019ffff]: xcopy with /y switch not portable plus 8 other c... artifact: fb1c4c05d8 user: davygrvy | |
|
2002-10-04
| ||
| 11:14 | • Open ticket [618019ffff]. artifact: 75eafd2e9f user: davygrvy | |
| 09:42 | • Ticket [618019ffff]: 4 changes artifact: c3620a6be7 user: nobody | |
| 09:28 | • Pending ticket [618019ffff]. artifact: fd893ad83a user: davygrvy | |
| 09:28 | • Ticket [618019ffff]: 4 changes artifact: 1985431200 user: davygrvy | |
| 01:37 | • Ticket [618019ffff]: 1 change artifact: 03d655bc9f user: hobbs | |
|
2002-10-03
| ||
| 10:59 | • New ticket [618019ffff]. artifact: 85b9e77086 user: nobody | |
xcopy with /y switch not portable
Closed / Fixed618019ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-10-03 10:59:27
Both the makefile.vc for Tcl and Tk contain calls to the xcopy command that use the "/y" switch. This switch is not supported on all versions of Windows, in this case Windows NT 4.0.
hobbs Ticket [618019ffff]: 1 change
[History diff]2002-10-04 01:37:48
davygrvyplain2002-10-04 09:28:21
Logged In: YES user_id=7549 What's the correct switch to use for copy with overwrite? I don't have NT 4 to test on.
davygrvy Pending ticket [618019ffff].
[History diff]2002-10-04 09:28:46
nobodyplain2002-10-04 09:42:27
Logged In: NO You should be able to use the following construct on Windows NT and Windows 2000 (I just tested it): echo y | xcopy (source) (dest) JJM
davygrvyplain2002-10-04 11:14:27
Logged In: YES user_id=7549 how about this change to makefile.vc? #--------------------------------------------------------------------- # Installation. #--------------------------------------------------------------------- !if "$(OS)" == "Windows_NT" !if ![ver | find "4.0" > nul] CPY= echo y | xcopy /i !else CPY= xcopy /i /y !endif !else CPY= xcopy /i !endif install-binaries: @echo installing $(TCLLIBNAME) !if "$(TCLLIB)" != "$(TCLIMPLIB)" @$(CPY) "$(TCLLIB)" "$(BIN_INSTALL_DIR)\" ..etc..
davygrvyplain2002-10-26 14:58:53
Logged In: YES user_id=7549 committed to HEAD without success report, so I may be causing an error. I need the verification that the patch is working.
Log in (anonymous is fine) to add a comment.