Map a TS with negative TS.tv_nsec to {0,0}. */
| 1036 | |
| 1037 | /* Map a TS with negative TS.tv_nsec to {0,0}. */ |
| 1038 | static inline struct timespec |
| 1039 | neg_to_zero (struct timespec ts) |
| 1040 | { |
| 1041 | if (0 <= ts.tv_nsec) |
| 1042 | return ts; |
| 1043 | struct timespec z = {0}; |
| 1044 | return z; |
| 1045 | } |
| 1046 | |
| 1047 | /* Set the quoting style default if the environment variable |
| 1048 | QUOTING_STYLE is set. */ |