Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 47cae45e108b7c2b390162296be88a4ea50f0f31
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/47cae45e108b7c2b39…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Fix some unary option parsing in unix vm
Argument parsing was ordered both
- by arity (-unary_option -binary_option binary_arg)
- by vm species (#ifdef STACKVM etc...)
The result is that some unary opt were found in the binary option else if branch
else if (argc > 1)
Keep the VM species order (as it matches that of windows VM and legacy Mac OS VM)
Thus distribute the (argc > 1) protection on each and every binary option check.
Commit: 91b7dd5971a558652d67f67079fa2e49aaea76aa
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/91b7dd5971a558652d…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/Mac OS/vm/sqMacUnixCommandLineInterface.c
Log Message:
-----------
Align legacy Mac OS option parsing with that of UNIX
Use VMOPTION macro so as to ease the diff with other OS.
Also change exit(0) in case of -help option like other OS.
Commit: 8c7512966e92772d5e119595391783201ef68e7a
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8c7512966e92772d5e…
Author: Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/Mac OS/vm/sqMacUnixCommandLineInterface.c
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Merge pull request #183 from OpenSmalltalk/Fix_some_unary_option_parsing_in_unix_vm
Fix some unary option parsing in unix vm
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/57154feca75e...8c…
Branch: refs/heads/Fix_some_unary_option_parsing_in_unix_vm
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 47cae45e108b7c2b390162296be88a4ea50f0f31
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/47cae45e108b7c2b39…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Fix some unary option parsing in unix vm
Argument parsing was ordered both
- by arity (-unary_option -binary_option binary_arg)
- by vm species (#ifdef STACKVM etc...)
The result is that some unary opt were found in the binary option else if branch
else if (argc > 1)
Keep the VM species order (as it matches that of windows VM and legacy Mac OS VM)
Thus distribute the (argc > 1) protection on each and every binary option check.
Commit: 91b7dd5971a558652d67f67079fa2e49aaea76aa
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/91b7dd5971a558652d…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/Mac OS/vm/sqMacUnixCommandLineInterface.c
Log Message:
-----------
Align legacy Mac OS option parsing with that of UNIX
Use VMOPTION macro so as to ease the diff with other OS.
Also change exit(0) in case of -help option like other OS.
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/47cae45e108b^...9…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 47488a8969c151b53f2cbd319d16894d44408474
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/47488a8969c151b53f…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Fix -textenc option parsing in unix vm
The terminal null character of text encoding was not copied to the uppercase variant.
This is a bug, alloca does not set the allocated bytes to zero.
While at it, use VMOPTION macro where we handle vm option strings.
We may get rid of VMOPTION macro in the future, but this is another decision.
Commit: 57154feca75e4e279c5b022bfffe98e4ebb9d5ab
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/57154feca75e4e279c…
Author: Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Merge pull request #182 from OpenSmalltalk/Fix_textenc_option_parsing_in_unix_vm
Fix -textenc option parsing in unix vm
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/8b1a98868722...57…
Branch: refs/heads/Fix_textenc_option_parsing_in_unix_vm
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 47488a8969c151b53f2cbd319d16894d44408474
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/47488a8969c151b53f…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2018-01-03 (Wed, 03 Jan 2018)
Changed paths:
M platforms/unix/vm/sqUnixMain.c
Log Message:
-----------
Fix -textenc option parsing in unix vm
The terminal null character of text encoding was not copied to the uppercase variant.
This is a bug, alloca does not set the allocated bytes to zero.
While at it, use VMOPTION macro where we handle vm option strings.
We may get rid of VMOPTION macro in the future, but this is another decision.