Lines 59-67
Link Here
|
59 |
do { \ |
59 |
do { \ |
60 |
int old_errno = errno; \ |
60 |
int old_errno = errno; \ |
61 |
if (_color) \ |
61 |
if (_color) \ |
62 |
printf("\033[32;01m" _hilight "\033[0m" _args); \ |
62 |
fprintf(stderr, "\033[32;01m" _hilight "\033[0m" _args); \ |
63 |
else \ |
63 |
else \ |
64 |
printf(_hilight _args); \ |
64 |
fprintf(stderr, _hilight _args); \ |
65 |
errno = old_errno; \ |
65 |
errno = old_errno; \ |
66 |
} while (0) |
66 |
} while (0) |
67 |
|
67 |
|
Lines 69-77
Link Here
|
69 |
do { \ |
69 |
do { \ |
70 |
int old_errno = errno; \ |
70 |
int old_errno = errno; \ |
71 |
if (_color) \ |
71 |
if (_color) \ |
72 |
printf("\033[33;01m" _hilight "\033[0m" _args); \ |
72 |
fprintf(stderr, "\033[33;01m" _hilight "\033[0m" _args); \ |
73 |
else \ |
73 |
else \ |
74 |
printf(_hilight _args); \ |
74 |
fprintf(stderr, _hilight _args); \ |
75 |
errno = old_errno; \ |
75 |
errno = old_errno; \ |
76 |
} while (0) |
76 |
} while (0) |
77 |
|
77 |
|