Commit 014c7f9
authored
pythongh-130052: Fix search_map_for_section() error handling (python#132594)
* Don't call close() if the file descriptor is negative.
* If close() fails, chain the existing exception.1 parent 7dcaebf commit 014c7f9
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
| 404 | + | |
404 | 405 | | |
| 406 | + | |
405 | 407 | | |
406 | 408 | | |
407 | 409 | | |
| |||
0 commit comments