]> granicus.if.org Git - strace/commitdiff
Fix for freebsd 4.1
authorJohn Hughes <john@Calva.COM>
Tue, 6 Mar 2001 16:22:18 +0000 (16:22 +0000)
committerJohn Hughes <john@Calva.COM>
Tue, 6 Mar 2001 16:22:18 +0000 (16:22 +0000)
freebsd/syscalls.pl

index 0b072a9743a448b33d492a22202d4c729594391a..0dc389ae0202c0cf0c3bb1bf64e201f3c1b39f7f 100644 (file)
@@ -110,7 +110,7 @@ while (<MASTER>) {
        $_ = "$_$line";
     }
 
-    if (/^(\d+)\s+\w+\s+\w+\s+\{\s*([^}]+)\s*\}([^}]*)$/) {
+    if (/^(\d+)\s+(?:MPSAFE\s+)?\w+\s+\w+\s+\{\s*([^}]+)\s*\}([^}]*)$/) {
        my($proto, $ext, $name, $nargs, @args, $pfunc, $cat);
        
        $proto = $2;