system/FileDescriptor: Close() should not be called on undefined object

It does not do much harm - but it causes an unnecessary (failing)
system call.
This commit is contained in:
Max Kellermann 2017-09-13 17:43:13 +02:00
parent e576556149
commit 13d02968bd

View File

@ -170,7 +170,7 @@ public:
#endif
/**
* Close the file descriptor. It is legal to call it on an
* Close the file descriptor. It should not be called on an
* "undefined" object. After this call, IsDefined() is guaranteed
* to return false, and this object may be reused.
*/