smack-team / smack

Smack userspace
GNU Lesser General Public License v2.1
41 stars 33 forks source link

Regression in d2283792: applying single file does not work in smackload #65

Closed jarkkojs closed 11 years ago

jarkkojs commented 11 years ago

Probably mistake in internal accesses_apply(). My guess is that either ofter file descriptors does not get closed.

jarkkojs commented 11 years ago

The attached patch does fix the issue but still it would be important to know why it fixes the issue :) I just did copy-paste accesses_apply() from previous commit and made mechanical conversion. Lesson to be learned is that even trivial clean up should be almost always a separate commit.

However, merging this, my bad.