Blame SOURCES/ltrace-0.7.91-tautology.patch

f84355
diff -r -U3 -p ltrace-0.7.91.orig/filter.c ltrace-0.7.91.dj/filter.c
f84355
--- ltrace-0.7.91.orig/filter.c	2012-12-16 20:53:44.000000000 -0500
f84355
+++ ltrace-0.7.91.dj/filter.c	2016-06-17 19:07:23.678490985 -0400
f84355
@@ -79,7 +79,7 @@ filter_lib_matcher_name_init(struct filt
f84355
 {
f84355
 	switch (type) {
f84355
 	case FLM_MAIN:
f84355
-		assert(type != type);
f84355
+		//assert(type != type);
f84355
 		abort();
f84355
 
f84355
 	case FLM_SONAME:
f84355
@@ -137,7 +137,7 @@ matcher_matches_library(struct filter_li
f84355
 	case FLM_MAIN:
f84355
 		return lib->type == LT_LIBTYPE_MAIN;
f84355
 	}
f84355
-	assert(matcher->type != matcher->type);
f84355
+	//assert(matcher->type != matcher->type);
f84355
 	abort();
f84355
 }
f84355
 
f84355
Only in ltrace-0.7.91.dj/: filter.c~
f84355
diff -r -U3 -p ltrace-0.7.91.orig/sysdeps/linux-gnu/proc.c ltrace-0.7.91.dj/sysdeps/linux-gnu/proc.c
f84355
--- ltrace-0.7.91.orig/sysdeps/linux-gnu/proc.c	2013-10-11 15:27:11.000000000 -0400
f84355
+++ ltrace-0.7.91.dj/sysdeps/linux-gnu/proc.c	2016-06-17 18:59:42.333774042 -0400
f84355
@@ -242,9 +242,10 @@ process_tasks(pid_t pid, pid_t **ret_tas
f84355
 	size_t alloc = 0;
f84355
 
f84355
 	while (1) {
f84355
-		struct dirent entry;
f84355
 		struct dirent *result;
f84355
-		if (readdir_r(d, &entry, &result) != 0) {
f84355
+		errno = 0;
f84355
+		result = readdir(d);
f84355
+		if (result == NULL && errno != 0) {
f84355
 		fail:
f84355
 			free(tasks);
f84355
 			closedir(d);
f84355
Only in ltrace-0.7.91.dj/sysdeps/linux-gnu: proc.c~
f84355
diff -r -U3 -p ltrace-0.7.91.orig/sysdeps/linux-gnu/x86/fetch.c ltrace-0.7.91.dj/sysdeps/linux-gnu/x86/fetch.c
f84355
--- ltrace-0.7.91.orig/sysdeps/linux-gnu/x86/fetch.c	2013-10-24 08:33:35.000000000 -0400
f84355
+++ ltrace-0.7.91.dj/sysdeps/linux-gnu/x86/fetch.c	2016-06-17 18:52:33.962842191 -0400
f84355
@@ -523,7 +523,7 @@ classify(struct process *proc, struct fe
f84355
 
f84355
 	default:
f84355
 		/* Unsupported type.  */
f84355
-		assert(info->type != info->type);
f84355
+		//assert(info->type != info->type);
f84355
 		abort();
f84355
 	}
f84355
 	abort();
f84355
Only in ltrace-0.7.91.dj/sysdeps/linux-gnu/x86: fetch.c~
f84355
diff -r -U3 -p ltrace-0.7.91.orig/sysdeps/linux-gnu/x86/trace.c ltrace-0.7.91.dj/sysdeps/linux-gnu/x86/trace.c
f84355
--- ltrace-0.7.91.orig/sysdeps/linux-gnu/x86/trace.c	2012-12-16 20:53:45.000000000 -0500
f84355
+++ ltrace-0.7.91.dj/sysdeps/linux-gnu/x86/trace.c	2016-06-17 18:52:16.699844065 -0400
f84355
@@ -145,7 +145,7 @@ arch_type_sizeof(struct process *proc, s
f84355
 		return (size_t)-2;
f84355
 
f84355
 	default:
f84355
-		assert(info->type != info->type);
f84355
+		//assert(info->type != info->type);
f84355
 		abort();
f84355
 	}
f84355
 }
f84355
@@ -158,7 +158,7 @@ arch_type_alignof(struct process *proc,
f84355
 
f84355
 	switch (info->type) {
f84355
 	default:
f84355
-		assert(info->type != info->type);
f84355
+		//assert(info->type != info->type);
f84355
 		abort();
f84355
 		break;
f84355
 
f84355
Only in ltrace-0.7.91.dj/sysdeps/linux-gnu/x86: trace.c~
f84355
diff -r -U3 -p ltrace-0.7.91.orig/value.c ltrace-0.7.91.dj/value.c
f84355
--- ltrace-0.7.91.orig/value.c	2013-10-10 08:43:55.000000000 -0400
f84355
+++ ltrace-0.7.91.dj/value.c	2016-06-17 19:11:43.441047589 -0400
f84355
@@ -363,7 +363,7 @@ value_set_word(struct value *value, long
f84355
 		u.u64 = word;
f84355
 		break;
f84355
 	default:
f84355
-		assert(sz != sz);
f84355
+		//assert(sz != sz);
f84355
 		abort();
f84355
 	}
f84355
 
f84355
@@ -414,7 +414,7 @@ value_extract_word(struct value *value,
f84355
 		*retp = (long)u.u64;
f84355
 		return 0;
f84355
 	default:
f84355
-		assert(sz != sz);
f84355
+		//assert(sz != sz);
f84355
 		abort();
f84355
 	}
f84355
 }
f84355
Only in ltrace-0.7.91.dj/: value.c~