Commit 3b259cbd1afdc96a3c3eb7af5895b310c1ac2a7d

Russell Belfer 2013-11-04T15:47:35

Preserve file error in iterator When the filesystem iterator encounters an error with a file, it returns the error but because of the cleanup code, it was in some cases erasing the error message. This uses the giterr_detach API to make sure that the actual error message is restored after the cleanup code has been run.