Blob Blame History Raw
diff -up ltrace-0.6.0/output.c\~ ltrace-0.6.0/output.c
--- ltrace-0.6.0/output.c~	2011-02-14 16:48:25.000000000 +0100
+++ ltrace-0.6.0/output.c	2011-02-15 00:35:39.000000000 +0100
@@ -202,7 +204,9 @@ output_left(enum tof type, Process *proc
 				current_column += fprintf(options.output, ", ");
 			}
 		}
-		if (func->params_right) {
+		if (func->params_right
+		    || func->return_info->type == ARGTYPE_STRING_N
+		    || func->return_info->type == ARGTYPE_ARRAY) {
 			save_register_args(type, proc);
 		}
 	}

Diff finished.  Tue Feb 15 00:35:44 2011