]> err.no Git - util-linux/commitdiff
portability: use standard constants
authorFrançois Revol <revol@free.fr>
Mon, 26 Jul 2010 09:41:04 +0000 (11:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jul 2010 09:41:04 +0000 (11:41 +0200)
Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/flock.c
text-utils/more.c

index 75c007c731a41ae1156767fb9439344ca1bf055e..1f1c563b124ecea2e93d50a70eef36087128a103 100644 (file)
@@ -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);
index 2eedfbe1a20e5fd10074c1fc15aa015b27d3dd6d..20efc28d67499cdc1ed23535233554b9e03cd17d 100644 (file)
 #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))