Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions machine/logger.cpp
Original file line number Diff line number Diff line change
@@ -395,7 +395,11 @@ namespace rubinius {
#define LOGGER_FROM_FLAGS (O_RDONLY | O_CLOEXEC)
#define LOGGER_TO_FLAGS (O_CREAT | O_TRUNC | O_APPEND | O_WRONLY | O_CLOEXEC)

#ifdef __FreeBSD__
#define LOGGER_SEM_OPEN_FLAGS (O_CREAT)
#else
#define LOGGER_SEM_OPEN_FLAGS (O_CREAT | O_RDWR)
#endif
#define LOGGER_SEM_OPEN_PERMS (S_IRUSR | S_IWUSR)

#define LOGGER_SHM_OPEN_FLAGS (O_CREAT | O_RDWR)

0 comments on commit ffbfd48

Please sign in to comment.