Bug #4649
fcntl doesn't work on windows
| Status: | Closed | Start date: | 08/29/2010 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | windows | |||
| Target version: | 2.6.2 | |||
| Affected Puppet version: | 2.6.0 | Branch: | http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4649 | |
| Keywords: | ||||
| Votes: | 2 |
Description
puppet/ralsh crashes on calls to fcntl when running on windows
Excerpt from http://ruby-doc.org/stdlib/libdoc/fcntl/rdoc/index.html
“Fcntl loads the constants defined in the system‘s <fcntl.h> C header file, and used with both the fcntl(2) and open(2) POSIX system calls.”
And since windows doesn’t use posix it fails
Attached is all the places that grep found fnctl
Related issues
History
Updated by James Turnbull over 1 year ago
- Category set to windows
- Affected Puppet version set to 2.6.0
Updated by James Turnbull over 1 year ago
- Target version set to 2.6.2
Updated by James Turnbull over 1 year ago
- Status changed from Unreviewed to Accepted
Updated by Jesse Wolfe over 1 year ago
- Target version changed from 2.6.2 to 2.7.x
Updated by James Turnbull over 1 year ago
- Priority changed from Normal to High
- Target version changed from 2.7.x to 2.6.2
Updated by Markus Roberts over 1 year ago
- Assignee set to Markus Roberts
Updated by Markus Roberts over 1 year ago
- Status changed from Accepted to In Topic Branch Pending Review
- Branch set to http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4649
The commit simple avoids setting the unsupported flags in environments where they are unsupported. Code review and some testing indicate that they aren’t actually needed for the restricted subset of event-queue that we are using. A more significant refactor is probably warranted, but isn’t appropriate for a point-point release.
Updated by Markus Roberts over 1 year ago
- Status changed from In Topic Branch Pending Review to Ready For Checkin
Updated by Markus Roberts over 1 year ago
- Status changed from Ready For Checkin to Closed
Pushed to 2.6.x as commit:25738726526c6618906eb02878f32bb276fec26f