diff options
| author | Ron Yorston <rmy@pobox.com> | 2020-02-16 09:48:48 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2020-02-16 09:48:48 +0000 |
| commit | 8d443464257edcd04c8fa8d5a6f130b70535e115 (patch) | |
| tree | 3fef845c2c39a43ce13ff973755507ad3bd4d463 /scripts/embedded_scripts | |
| parent | 800dbf203d5af67b9a115a4b6f1f84ca448bc755 (diff) | |
| download | busybox-w32-8d443464257edcd04c8fa8d5a6f130b70535e115.tar.gz busybox-w32-8d443464257edcd04c8fa8d5a6f130b70535e115.tar.bz2 busybox-w32-8d443464257edcd04c8fa8d5a6f130b70535e115.zip | |
win32: tidy up detection of device files
Define NOT_DEVICE as -1 so the return value of index_in_strings()
when no device name is matched is NOT_DEVICE.
Make the logic in mingw_open() clearer.
Diffstat (limited to 'scripts/embedded_scripts')
0 files changed, 0 insertions, 0 deletions
