Not sure if this is someone playing a joke or just untested but I
can't figure out why you'd want to #ifdef out the closing braces for
the prior case statement. The attached patch fixes it for me.

Zac
--- strace-4.5.18/syscall.c.orig	2009-02-23 17:10:08.000000000 -0800
+++ strace-4.5.18/syscall.c	2009-02-23 17:10:18.000000000 -0800
@@ -2425,10 +2425,10 @@
 				default:
 					fprintf(stderr,
 						"invalid rval format\n");
-#if defined(__NR_socketcall)
 					break;
 				}
 			}
+#if defined(__NR_socketcall)
 			if ((sys_res & RVAL_STR) && tcp->auxstr)
 #endif
 #if defined(__NR_ipc)
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to