However according to http://support.microsoft.com/kb/830473 : "the total
length ....
cannot contain more than either 2047 or 8191 characters (as appropriate to
your
operating system)"
I'd suggest changing it to MAXSTRING which is used throughout cmd to refer to a 'big' string (of 8192 chars). At least this way you can grow the max line length simply!
PS: I think char string[1024]; in the main() should be extended to char string[2048]; as well! (please see the MS note above)
Yes, I'd agree (to MAXSTRING, but change the 1024 in at least one of the calls appropriately as well)
Jason
Hello Jason,
PS: I think char string[1024]; in the main() should be extended to char string[2048]; as well! (please see the MS note above)
Yes, I'd agree (to MAXSTRING, but change the 1024 in at least one of
the calls appropriately as well)
yes, there are several places in wcmdmain.c besides main() where 1024 is wrongly used. But that would be another patch - related to the max. length of commands.
I hope my original patch will be applied (with 2048 or with MAXSTRING as you suggest) http://www.winehq.org/pipermail/wine-patches/2007-March/037313.html - it is about the max. length of a PATH variable.
Regards Alex