| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/copy-acl.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | int | - |
| 5 | copy_acl (const char *src_name, int source_desc, const char *dst_name, | - |
| 6 | int dest_desc, mode_t mode) | - |
| 7 | { | - |
| 8 | int ret = qcopy_acl (src_name, source_desc, dst_name, dest_desc, mode); | - |
| 9 | switch (ret) | - |
| 10 | { | - |
| 11 | case never executed: -2:case -2:never executed: case -2: | 0 |
| 12 | error (0, | - |
| 13 | (*__errno_location ()) | - |
| 14 | , "%s", quote (src_name)); | - |
| 15 | break; never executed: break; | 0 |
| 16 | - | |
| 17 | case never executed: -1:case -1:never executed: case -1: | 0 |
| 18 | error (0, | - |
| 19 | (*__errno_location ()) | - |
| 20 | , | - |
| 21 | dcgettext (((void *)0), | - |
| 22 | "preserving permissions for %s" | - |
| 23 | , 5) | - |
| 24 | , quote (dst_name)); | - |
| 25 | break; never executed: break; | 0 |
| 26 | - | |
| 27 | default executed 37879 times by 2 tests: :default:Executed by:
executed 37879 times by 2 tests: default:Executed by:
| 37879 |
| 28 | break; executed 37879 times by 2 tests: break;Executed by:
| 37879 |
| 29 | } | - |
| 30 | return executed 37879 times by 2 tests: ret;return ret;Executed by:
executed 37879 times by 2 tests: return ret;Executed by:
| 37879 |
| 31 | } | - |
| Switch to Source code | Preprocessed file |