dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

SET accepts any switch letter as meaning /P switch #75

Closed ecm-pushbx closed 1 year ago

ecm-pushbx commented 1 year ago

https://github.com/dosemu2/comcom32/blob/078880a3afa2421d4566898101e98ccabf856638/command.c#L3500

This call should compare at least 2 bytes to detect a /P switch.

Noticed as I tested SET /E support which comcom32 does not have.

stsp commented 1 year ago

Thanks, good catch.