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