diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-22 12:03:37 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-22 12:03:37 +0000 |
commit | 967510df361e0af44d7ca492ae2374674a535023 (patch) | |
tree | de8134e812a7836024064911a2b211a43d354dd4 /configs | |
parent | 227c119c93f8acd299e4e3c8b9601e67f000fb53 (diff) | |
download | busybox-w32-967510df361e0af44d7ca492ae2374674a535023.tar.gz busybox-w32-967510df361e0af44d7ca492ae2374674a535023.tar.bz2 busybox-w32-967510df361e0af44d7ca492ae2374674a535023.zip |
shred: fix up for WIN32 and enable by default
Use the new low-level support for /dev/zero and /dev/urandom to
allow shred to work in busybox-w32.
The only change required is to close the file before unlinking it,
as Microsoft Windows won't delete an open file.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/mingw32_defconfig | 2 | ||||
-rw-r--r-- | configs/mingw64_defconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index 5a17fb164..7c56866a2 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -283,7 +283,7 @@ CONFIG_PWD=y | |||
283 | CONFIG_RM=y | 283 | CONFIG_RM=y |
284 | CONFIG_RMDIR=y | 284 | CONFIG_RMDIR=y |
285 | CONFIG_SEQ=y | 285 | CONFIG_SEQ=y |
286 | # CONFIG_SHRED is not set | 286 | CONFIG_SHRED=y |
287 | CONFIG_SHUF=y | 287 | CONFIG_SHUF=y |
288 | CONFIG_SLEEP=y | 288 | CONFIG_SLEEP=y |
289 | CONFIG_FEATURE_FANCY_SLEEP=y | 289 | CONFIG_FEATURE_FANCY_SLEEP=y |
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index 7460e9860..3261d17b8 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -283,7 +283,7 @@ CONFIG_PWD=y | |||
283 | CONFIG_RM=y | 283 | CONFIG_RM=y |
284 | CONFIG_RMDIR=y | 284 | CONFIG_RMDIR=y |
285 | CONFIG_SEQ=y | 285 | CONFIG_SEQ=y |
286 | # CONFIG_SHRED is not set | 286 | CONFIG_SHRED=y |
287 | CONFIG_SHUF=y | 287 | CONFIG_SHUF=y |
288 | CONFIG_SLEEP=y | 288 | CONFIG_SLEEP=y |
289 | CONFIG_FEATURE_FANCY_SLEEP=y | 289 | CONFIG_FEATURE_FANCY_SLEEP=y |