Jason Edmeades : xcopy: Add support for COPYCMD override and
30 Mar
2007
30 Mar
'07
7:48 p.m.
wouldn't it be nicer to use sizeof(copyCmd) here? if (GetEnvironmentVariable(COPYCMD, copyCmd, MAXSTRING)) { There are many spots like this in wcmdmain.c
Yes... I'm blaming cut and paste as I didn't do all the wcmd ones :-) Once I get all my xcopy patches in I want to continue my rework of the cmd commands, finishing off some more inbuilt ones which I know are broken. I also want to extend your last patch to ensure all parts which process a command line are using the MAXSTRING length, and I'll do a patch for this while I am at it. Thanks, Jason
6835
Age (days ago)
6835
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ann & Jason Edmeades