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
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r48629.
file.c: unnecessary #undef
- file.c (flock): remove unnecessary #undef flock, trace of green
thread polling. patched by Rohan Garg. [Bug #10551]
Actions
Like0
Like0