Skip to content

Commit

Permalink
release: v0.2.2
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cptpcrd committed Sep 13, 2020
1 parent 1299a55 commit 94bdc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down

0 comments on commit 94bdc44

Please sign in to comment.