Ticket #38 (new defect) — at Initial Version
Opened 8 years ago
Last modified 6 years ago
[perl] fix compatibility issue with flock_server on BONE
| Reported by: | brecht | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Unscheduled |
| Component: | dev-lang/perl | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This is required to build a copy of Perl for BONE with dynamically linked extensions.
First try to build with other versions of GCC (differences in linking?)
Ingo: The only thing that the flock() support changes is defining
close() to flock_close() and dup2() to flock_dup2(). After a little
communication with the server, the flock_*() versions just call the
original functions.
You could try not to link against libflock.so, but keep the macro
definitions in place, and define the flock_*() functions (in beos.c) to
call the close()/dup2() directly. Then you'd at least learn, if the macro
definitions screw things up.
