File ltrace.trunk-r37.patch of Package ltrace

------------------------------------------------------------------------
r37 | pgilliam-guest | 2006-04-07 16:32:06 +0000 (Fri, 07 Apr 2006) | 3 lines
Changed paths:
   M /ltrace/trunk/elf.c

Did not get type changed from opt_e_t to opt_x_t when making the -x fix.  Did
so now.

------------------------------------------------------------------------
---
 elf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: elf.c
===================================================================
--- elf.c.orig
+++ elf.c
@@ -402,7 +402,7 @@ struct library_symbol *read_elf(struct p
 
 	if (proc->need_to_reinitialize_breakpoints) {
 		/* Add "PLTs_initialized_by_here" to opt_x list, if not already there. */
-		main_cheat = (struct opt_e_t *)malloc(sizeof(struct opt_e_t));
+		main_cheat = (struct opt_x_t *)malloc(sizeof(struct opt_x_t));
 		if (main_cheat == NULL)
 			error(EXIT_FAILURE, 0, "Couldn allocate memory");
 		main_cheat->next = opt_x;
openSUSE Build Service is sponsored by