- Notifications
You must be signed in to change notification settings - Fork5
Commit2ea9595
committed
Add error handling for failing fstat() calls in copy.c.
These calls are pretty much guaranteed not to fail unless somethinghas gone horribly wrong, and even in that case we'd just error out ashort time later. But since several code checkers complain about themissing check it seems worthwile to fix it nonetheless.Pointed out by Coverity.1 parent8cadeb7 commit2ea9595
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1707 | 1707 |
| |
1708 | 1708 |
| |
1709 | 1709 |
| |
1710 |
| - | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1711 | 1713 |
| |
1712 | 1714 |
| |
1713 | 1715 |
| |
| |||
2718 | 2720 |
| |
2719 | 2721 |
| |
2720 | 2722 |
| |
2721 |
| - | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
2722 | 2726 |
| |
2723 | 2727 |
| |
2724 | 2728 |
| |
|
0 commit comments
Comments
(0)