Fix bug with clang + directory_files_internal + GC.
commit81a96c703d23a9a0dca641a4b2f1a6a0c8caa6c0
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Aug 2014 22:58:09 +0000 (2 15:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Aug 2014 22:58:09 +0000 (2 15:58 -0700)
treeaeff94af3e2443f47ed814d98b815a765df2d7d1
parent35192d6e3b4d1d91138498d745805f1366c90d4a
Fix bug with clang + directory_files_internal + GC.

* src/dired.c (directory_files_internal): Use a volatile variable
to prevent the compiler from optimizing away all copies of a local.
I wonder how many other GC-related bugs like this lurk elsewhere?
src/ChangeLog
src/dired.c