Simon Ruderich
|
86352712fd
|
Fix save/restore of errno for isatty().
|
2013-06-10 14:05:51 +02:00 |
|
Simon Ruderich
|
048bd6f9e7
|
Use likely()/unlikely() macros to improve branch prediction.
|
2013-06-10 14:05:51 +02:00 |
|
Simon Ruderich
|
9862b8c8f1
|
Inline check_handle_fd() into hook macros.
It's very small and prologue/epilogue have a lot of overhead.
|
2013-06-10 14:05:51 +02:00 |
|
Simon Ruderich
|
dfd317650f
|
Remove errno save/restore where not necessary.
|
2013-06-10 14:05:45 +02:00 |
|
Simon Ruderich
|
fe3f7d4c63
|
handle_*_pre(),handle_*_post(): Remove unused action parameter.
|
2013-06-10 04:53:30 +02:00 |
|
Simon Ruderich
|
66140e14e4
|
hookmacros.h: Be more careful to restore the errno.
check_handle_fd() or handle_fd_pre() might also modify it.
|
2013-06-01 22:47:23 +02:00 |
|
Simon Ruderich
|
73870d5ed5
|
hookmacros.h: Reduce duplication in HOOK_VOID1().
|
2013-06-01 22:44:22 +02:00 |
|
Simon Ruderich
|
ad50ad9c54
|
Hook perror(3).
|
2013-06-01 22:08:45 +02:00 |
|
Simon Ruderich
|
6d15f6c990
|
Rename macros.h to hookmacros.h.
|
2013-05-31 18:36:21 +02:00 |
|