| 161 | #endif |
| 162 | |
| 163 | static void PrintOut(FILE *fd, int pos_start, int pos_end) |
| 164 | { |
| 165 | if (pos_start <= 0 || pos_end - pos_start <= 4) return; |
| 166 | char c = 0; |
| 167 | |
| 168 | fseek(fd, pos_start, SEEK_SET); |
| 169 | while (pos_start++ <= pos_end) |
| 170 | { |
| 171 | if (c == '\\') |
| 172 | { |
| 173 | c = fgetc(fd); |
| 174 | if (c != '"') putchar('\\'); |
| 175 | } |
| 176 | else |
| 177 | c = fgetc(fd); |
| 178 | if (c == '@' || c == '$') putchar('\\'); |
| 179 | if (c != '\r') putchar(c); |
| 180 | } |
| 181 | if (c == '\\') putchar('\\'); |
| 182 | } |
| 183 | |
| 184 | |
| 185 | void printpi(procinfov pi) |