Opened 3 years ago
Closed 2 years ago
#8770 closed bug (fixed)
link() return errno
| Reported by: | scottmc | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | System/POSIX | Version: | R1/Development |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Has a Patch: | yes | Platform: | All |
Description
Currently Haiku's link() returns B_UNSUPPORTED, it has been suggested that the proper return result should instead be EPERM.
See discussion here: http://comments.gmane.org/gmane.os.haiku.ports.devel/1475
Attachments (1)
Change History (7)
comment:1 Changed 3 years ago by jstressman
comment:2 Changed 3 years ago by scottmc
- Version changed from R1/alpha3 to R1/Development
comment:3 Changed 3 years ago by scottmc
- Milestone changed from R1/alpha4 to R1
Changed 2 years ago by przemub
comment:4 Changed 2 years ago by przemub
- Has a Patch set
comment:5 Changed 2 years ago by axeld
Thanks for the patch! It does a bit too much, though: most mappings are not necessary, as, for example EROFS and B_READ_ONLY_DEVICE, and most of the others resolve exactly to the same value.
The other error codes are the ones expected from file system drivers, so only EPERM should be mapped the way you did it.
comment:6 Changed 2 years ago by korli
- Resolution set to fixed
- Status changed from new to closed
Edited by myself and applied in hrev45172. Thanks!
Note: See
TracTickets for help on using
tickets.

Adding myself to this ticket so that I can update the fontconfig port if need be, if/when this gets fixed.