]> granicus.if.org Git - strace/commitdiff
Seems like some systems treat sigmask_t and sigmask_t* as the same thing.
authorWichert Akkerman <wichert@deephackmode.org>
Fri, 26 Nov 1999 10:12:59 +0000 (10:12 +0000)
committerWichert Akkerman <wichert@deephackmode.org>
Fri, 26 Nov 1999 10:12:59 +0000 (10:12 +0000)
ChangeLog
signal.c

index b1b8bb42eb7ebd1ca99486a0ef53e207b22afb1e..c6483c5c2333463080ec5ac369a835447668e5bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Fri Nov 26 10:51:55 CET 1999 Wichert Akkerman <wakkerma@debian.org>
     + ACL fixes for UnixWare
     + allow net.c to compile on systems without AF_INET6
     + Only use long_to_sigset on Linux systems
+    + UnixWare treats sigmask_t and sigmask_t* as the same thing
 
 Fri Nov 26 01:28:09 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
index 28e544b07cbe67bfbb77e4bd819c6548359e69b0..edad17fa6595f3633fd5e9c3a4b658836515a719 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -888,7 +888,7 @@ struct tcb *tcp;
                if (umove(tcp, tcp->u_arg[0], &sigset) < 0)
                        tprintf("[?]");
                else
-                       printsigmask(sigset, 0);
+                       printsigmask(&sigset, 0);
        }
        return 0;
 }
@@ -1115,7 +1115,7 @@ struct tcb *tcp;
                else if (copy_sigset(tcp, tcp->u_arg[0], &sigset) < 0)
                        tprintf("[?]");
                else
-                       printsigmask(sigset, 0);
+                       printsigmask(&sigset, 0);
        }
        return 0;
 }
@@ -1317,7 +1317,7 @@ sys_rt_sigpending(tcp)
                                         &sigset, tcp->u_arg[1]) < 0)
                        tprintf("[?]");
                else
-                       printsigmask(sigset, 1);
+                       printsigmask(&sigset, 1);
        }
        return 0;
 }
@@ -1568,7 +1568,7 @@ int sys_rt_sigtimedwait(tcp)
                                    &sigset, tcp->u_arg[3]) < 0)
                        tprintf("[?]");
                else
-                       printsigmask(sigset, 1);
+                       printsigmask(&sigset, 1);
                tprintf(", ");
        }
        else {