diff options
-rw-r--r-- | sys-utils/flock.c | 2 | ||||
-rw-r--r-- | text-utils/more.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys-utils/flock.c b/sys-utils/flock.c index 75c007c7..1f1c563b 100644 --- a/sys-utils/flock.c +++ b/sys-utils/flock.c @@ -253,7 +253,7 @@ int main(int argc, char *argv[]) memset(&sa, 0, sizeof sa); sa.sa_handler = timeout_handler; - sa.sa_flags = SA_ONESHOT; + sa.sa_flags = SA_RESETHAND; sigaction(SIGALRM, &sa, &old_sa); setitimer(ITIMER_REAL, &timeout, &old_timer); diff --git a/text-utils/more.c b/text-utils/more.c index 2eedfbe1..20efc28d 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -62,6 +62,10 @@ #include <regex.h> #undef _REGEX_RE_COMP +#ifndef XTABS +#define XTABS TAB3 +#endif + #define VI "vi" /* found on the user's path */ #define Fopen(s,m) (Currline = 0,file_pos=0,fopen(s,m)) |