| 3731 | static jmp_buf failed_strcoll; |
| 3732 | |
| 3733 | static int |
| 3734 | xstrcoll (char const *a, char const *b) |
| 3735 | { |
| 3736 | int diff; |
| 3737 | errno = 0; |
| 3738 | diff = strcoll (a, b); |
| 3739 | if (errno) |
| 3740 | { |
| 3741 | error (0, errno, _("cannot compare file names %s and %s"), |
| 3742 | quote_n (0, a), quote_n (1, b)); |
| 3743 | set_exit_status (false); |
| 3744 | longjmp (failed_strcoll, 1); |
| 3745 | } |
| 3746 | return diff; |
| 3747 | } |
| 3748 | |
| 3749 | /* Comparison routines for sorting the files. */ |
| 3750 |
nothing calls this directly
no test coverage detected