When CP_MORE was disabled, the d flag was still in the [-exclusion] list at the end...
authorRob Landley <rob@landley.net>
Thu, 1 Jan 2015 03:23:37 +0000 (21:23 -0600)
committerRob Landley <rob@landley.net>
Thu, 1 Jan 2015 03:23:37 +0000 (21:23 -0600)
commit5834ddd6df659d9c9dc7333284fc86762dea061a
treeb1cb0202dbfe44fd3b2cbead367136aaa69b5d41
parentde699accf6804e8b1d8042b46c85500ee8c672c6
When CP_MORE was disabled, the d flag was still in the [-exclusion] list at the end and option parsing fell off the end looking for it (segfault) if DEBUG wasn't enabled to check for that.
toys/posix/cp.c