Closed ghost closed 10 years ago
I am pondering if r2 should specify length of buffer in bytes instead of words. I also need to improve the test to check for the trailing null and packing of the strings after the argv[]
I agree specifying size in bytes would slightly better, and the test needs to check argv[argc] == NULL. Could you also wrap the code to 80 columns to match the code around it.
Looks good to merge with these changes.
Hi Richard,
I assume the symbol will be harmless ignored for current builds. With my newer crt1.S, it prevents the crt1.S's OSCALL_ARGV failing due to its buffer being too small.
However, should I have used a preceding '_' for the symbol? viz: "_CmdLineWords"
hi richard, OSCALL_ARGV handling Robert