From 94bdc4468eaaa8ef90ddf91daae9d57dbd7d2dfb Mon Sep 17 00:00:00 2001 From: cptpcrd <31829097+cptpcrd@users.noreply.github.com> Date: Sun, 13 Sep 2020 17:27:25 -0400 Subject: [PATCH] release: v0.2.2 CHANGELOG: - Remove Windows support - It unnecessarily complicates portions of the code, especially the testing code. - It may require users to set an "invalid parameter handler" for it to work properly. Most probably won't realize this and will be confused to see their programs segfault. - The real killer: Windows handles file descriptors differently, and a function that closes all file descriptors just isn't necessary for security on Windows. The way I understand it, only file descriptors 0, 1, and 2 are ever inherited across program launches. File *handles* are inherited by default, but we can't close them. - Implement size_hint() for FdIter - Add warnings to the docs of iter_open_fds() and iter_possible_fds() - Add Solaris/Illumos support - Ensure FdIter is fused and mark it as such - Minor internal refactoring --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e52cfc2..f5a428a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "close_fds" -version = "0.2.1" +version = "0.2.2" edition = "2018" description = "A library that makes it easy to close all open file descriptors."