Actions
Bug #10551
closedUnnecessary #undef in file.c
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu]
Backport:
Description
Hi there
I was just casually looking at the File locking implementation in ruby inside file.c and noticed that there's a unnecessary #undef flock at the end of the function, maybe it really is required, but I couldn't figure out why.
So here's my first patch to ruby, but I'm not totally sure about it. Feel free to correct me if I'm wrong and it really is required, git history didn't tell me much.
Files
Actions
Like0
Like0