| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/verror.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | - | |||||||
| 4 | - | |||||||
| 5 | - | |||||||
| 6 | void | - | ||||||
| 7 | verror (int status, int errnum, const char *format, va_list args) | - | ||||||
| 8 | { | - | ||||||
| 9 | verror_at_line (status, errnum, | - | ||||||
| 10 | ((void *)0) | - | ||||||
| 11 | , 0, format, args); | - | ||||||
| 12 | } executed 15 times by 2 tests: end of blockExecuted by:
| 15 | ||||||
| 13 | - | |||||||
| 14 | - | |||||||
| 15 | - | |||||||
| 16 | - | |||||||
| 17 | - | |||||||
| 18 | - | |||||||
| 19 | - | |||||||
| 20 | void | - | ||||||
| 21 | verror_at_line (int status, int errnum, const char *file, | - | ||||||
| 22 | unsigned int line_number, const char *format, va_list args) | - | ||||||
| 23 | { | - | ||||||
| 24 | char *message = xvasprintf (format, args); | - | ||||||
| 25 | if (message
| 0-22 | ||||||
| 26 | { | - | ||||||
| 27 | - | |||||||
| 28 | - | |||||||
| 29 | - | |||||||
| 30 | if (file
| 0-22 | ||||||
| 31 | error_at_line (status, errnum, file, line_number, "%s", message); never executed: error_at_line (status, errnum, file, line_number, "%s", message); | 0 | ||||||
| 32 | else | - | ||||||
| 33 | error (status, errnum, "%s", message); executed 22 times by 2 tests: error (status, errnum, "%s", message);Executed by:
| 22 | ||||||
| 34 | } | - | ||||||
| 35 | else | - | ||||||
| 36 | { | - | ||||||
| 37 | - | |||||||
| 38 | - | |||||||
| 39 | error (0, | - | ||||||
| 40 | (*__errno_location ()) | - | ||||||
| 41 | , | - | ||||||
| 42 | dcgettext (((void *)0), | - | ||||||
| 43 | "unable to display error message" | - | ||||||
| 44 | , 5) | - | ||||||
| 45 | ); | - | ||||||
| 46 | abort (); never executed: abort (); | 0 | ||||||
| 47 | } | - | ||||||
| 48 | free (message); | - | ||||||
| 49 | } executed 15 times by 2 tests: end of blockExecuted by:
| 15 | ||||||
| Switch to Source code | Preprocessed file |