|
2014-07-17
| ||
| 11:04 | • Closed ticket [3cdcfa4080]: tclWinFile.c does not compile with Win VC6 plus ... artifact: e85f0ab742 user: jan.nijtmans | |
| 11:02 | Fix [3cdcfa40809ffd2b9d3d71f77dc57da615243730|3cdcfa4080]: tclWinFile.c does not compile with Win VC... check-in: f15f329238 user: jan.nijtmans tags: trunk | |
| 09:58 | • Ticket [3cdcfa4080] tclWinFile.c does not compile with Win VC6 status still ... artifact: d572103ca0 user: oehhar | |
| 09:57 | • New ticket [3cdcfa4080]. artifact: 92ab606de9 user: oehhar | |
tclWinFile.c does not compile with Win VC6
Closed / Fixed3cdcfa40809ffd2b9d3d71f77dc57da615243730Created 12 years agoUpdated 12 years ago
Descriptionwiki2014-07-17 09:57:57
For me, tclWinFile.c does not compile, due to a signed/unsigned issue.
The patch is attached but should be checked.
This is also a marker for me, no time to look to now.
len is int, strlen returns something unsigned...
@@ -2928,7 +2928,7 @@
str = Tcl_GetStringFromObj(validPathPtr, &len);
- if (strlen(str)!=len) {
+ if (((int)strlen(str))!=len) {
/* String contains NUL-bytes. This is invalid. */
return 0;
}
Referenced by1
f15f329238Fix [3cdcfa40809ffd2b9d3d71f77dc57da615243730|3cdcfa4080]: tclWinFile.c does not compile with Win VC6 check-in2014-07-17 11:02:03
oehhar Ticket [3cdcfa4080]: 4 changes
[History diff]2014-07-17 09:58:35
jan.nijtmanswiki2014-07-17 11:04:15
Fixed in: [f15f329238]. Thanks!
Log in (anonymous is fine) to add a comment.