| 5198 | Use a TAB character instead of two or more spaces whenever possible. */ |
| 5199 | |
| 5200 | static void |
| 5201 | indent (size_t from, size_t to) |
| 5202 | { |
| 5203 | while (from < to) |
| 5204 | { |
| 5205 | if (tabsize != 0 && to / tabsize > (from + 1) / tabsize) |
| 5206 | { |
| 5207 | putchar ('\t'); |
| 5208 | from += tabsize - from % tabsize; |
| 5209 | } |
| 5210 | else |
| 5211 | { |
| 5212 | putchar (' '); |
| 5213 | from++; |
| 5214 | } |
| 5215 | } |
| 5216 | } |
| 5217 | |
| 5218 | /* Put DIRNAME/NAME into DEST, handling '.' and '/' properly. */ |
| 5219 | /* FIXME: maybe remove this function someday. See about using a |
no outgoing calls
no test coverage detected