]> granicus.if.org Git - strace/commit
unwind: cleanup build_mmap_cache
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 12 Jun 2014 14:01:45 +0000 (18:01 +0400)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 13 Jun 2014 15:56:40 +0000 (15:56 +0000)
commit9a349c7779c1c0da89b4eb2821c3b5e6de84adcf
tree158d04f173033655fe11c8ecb672a9af7ec5f059
parent2222b928c65b1259f27625d6e50627865fb75336
unwind: cleanup build_mmap_cache

* unwind.c (build_mmap_cache): Move local variables to the code branch
where they are used.  Check return code of sscanf and strdup.  Do not
treat unusual memory mappings as fatal errors.  Do not skip memory
mappings with path names starting with "[".
unwind.c