Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File locking does not work on MAC OS 10.5 #83

Closed
GoogleCodeExporter opened this issue Aug 12, 2015 · 3 comments
Closed

File locking does not work on MAC OS 10.5 #83

GoogleCodeExporter opened this issue Aug 12, 2015 · 3 comments
Assignees
Labels
bug Incorrect code behavior comp-Logic Related to internal code logic OS-OSX Related to MacOS (Apple) pri-Medium Worth assigning to a milestone
Milestone

Comments

@GoogleCodeExporter
Copy link

Thomas Piechota have reported this issue (
http://groups.google.com/group/adda-discuss/browse_thread/thread/d79cfa0b3ea8a46
8
), resulting in compilation errors.

Probably this is caused by the fact that some POSIX environmental variables
are not defined in MAC OS. Moreover, I am not completely sure that the code
for UNIX implementing file locking will work unmodified for MAC OS. Anyway,
this needs more investigating. 

For now, the workaround is to compile without file locking. To do this
uncomment line “CFLAGS += -DNOT_USE_LOCK” in the Makefile. See section 4.1
of the manual for details.

Original issue reported on code.google.com by yurkin on 9 Jul 2009 at 3:38

@GoogleCodeExporter
Copy link
Author

Issue 152 has been merged into this issue.

#152

Original comment by yurkin on 26 Jul 2012 at 4:31

@GoogleCodeExporter
Copy link
Author

As reported by tsemab in issue 152:

Adding "|| (defined(__APPLE__) && defined(__MACH__))" and the end of 31 line in 
os.h solve the problem

Original comment by yurkin on 26 Jul 2012 at 4:33

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r1154.

r1154 - 4ca1192

Original comment by yurkin on 26 Jul 2012 at 5:29

  • Changed state: Fixed

@GoogleCodeExporter GoogleCodeExporter added auto-migrated comp-Logic Related to internal code logic pri-Medium Worth assigning to a milestone OS-OSX Related to MacOS (Apple) labels Aug 12, 2015
@myurkin myurkin added bug Incorrect code behavior and removed auto-migrated labels Aug 13, 2015
@myurkin myurkin self-assigned this Aug 13, 2015
@myurkin myurkin added this to the 1.2 milestone Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect code behavior comp-Logic Related to internal code logic OS-OSX Related to MacOS (Apple) pri-Medium Worth assigning to a milestone
Projects
None yet
Development

No branches or pull requests

2 participants