ntdll: Assert when trying to replace an exiting file descriptor in fd_cache.

Sebastian Lackner sebastian at fds-team.de
Sat Feb 28 19:58:33 CST 2015


The condition "prev_fd != -1" should never be true. If this is the case then something
is going terrible wrong, and it is better to assert instead of just closing the file
descriptor.

---
 dlls/ntdll/server.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Assert-when-trying-to-replace-an-exiting-file-.patch
Type: text/x-patch
Size: 1311 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150301/409a9ddc/attachment-0001.bin>


More information about the wine-patches mailing list