| 1105 | } |
| 1106 | |
| 1107 | static char const * |
| 1108 | abbr(struct tm const *tmp) |
| 1109 | { |
| 1110 | #ifdef TM_ZONE |
| 1111 | return tmp->TM_ZONE; |
| 1112 | #else |
| 1113 | # if HAVE_TZNAME |
| 1114 | if (0 <= tmp->tm_isdst && tzname[0 < tmp->tm_isdst]) |
| 1115 | return tzname[0 < tmp->tm_isdst]; |
| 1116 | # endif |
| 1117 | return ""; |
| 1118 | #endif |
| 1119 | } |
| 1120 | |
| 1121 | /* |
| 1122 | ** The code below can fail on certain theoretical systems; |
no outgoing calls
no test coverage detected