| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/open-safer.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | - | |||||||
| 4 | int | - | ||||||
| 5 | open_safer (char const *file, int flags, ...) | - | ||||||
| 6 | { | - | ||||||
| 7 | mode_t mode = 0; | - | ||||||
| 8 | - | |||||||
| 9 | if (flags &
| 5975-6687 | ||||||
| 10 | 0100
| 5975-6687 | ||||||
| 11 | ) | - | ||||||
| 12 | { | - | ||||||
| 13 | va_list ap; | - | ||||||
| 14 | - | |||||||
| 15 | __builtin_va_start( | - | ||||||
| 16 | ap | - | ||||||
| 17 | , | - | ||||||
| 18 | flags | - | ||||||
| 19 | ) | - | ||||||
| 20 | ; | - | ||||||
| 21 | - | |||||||
| 22 | - | |||||||
| 23 | - | |||||||
| 24 | mode = | - | ||||||
| 25 | __builtin_va_arg( | - | ||||||
| 26 | ap | - | ||||||
| 27 | , | - | ||||||
| 28 | mode_t | - | ||||||
| 29 | ) | - | ||||||
| 30 | ; | - | ||||||
| 31 | - | |||||||
| 32 | - | |||||||
| 33 | __builtin_va_end( | - | ||||||
| 34 | ap | - | ||||||
| 35 | ) | - | ||||||
| 36 | ; | - | ||||||
| 37 | } executed 6687 times by 4 tests: end of blockExecuted by:
| 6687 | ||||||
| 38 | - | |||||||
| 39 | return executed 12662 times by 9 tests: fd_safer (open (file, flags, mode));return fd_safer (open (file, flags, mode));Executed by:
executed 12662 times by 9 tests: return fd_safer (open (file, flags, mode));Executed by:
| 12662 | ||||||
| 40 | } | - | ||||||
| Switch to Source code | Preprocessed file |