better filedata ref debug messages
authorVladimir Nadvornik <nadvornik@suse.cz>
Wed, 29 Aug 2012 21:27:52 +0000 (23:27 +0200)
committerVladimir Nadvornik <nadvornik@suse.cz>
Wed, 29 Aug 2012 21:27:52 +0000 (23:27 +0200)
commitf5e2bc6ad3ec9876532a6904c706fbc1f29fc31f
treeb9570231fe0b7cf957ff8fb41c83e73404dd74be
parent2d51dd3a2bc18199726de6ed43fc024001852826
better filedata ref debug messages

The idea is this:
with --debug=2 geeqie writes log with pointers. If it crashes on
fd->magick, it writes the invalid pointer as a hex value before
the crash. Then the log can be grepped for this value to see
what happened with this fd in the past.
src/filedata.c