Opened 12 years ago
Closed 12 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: | ||
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 by , 12 years ago
comment:2 by , 12 years ago
Version: | R1/alpha3 → R1/Development |
---|
comment:3 by , 12 years ago
Milestone: | R1/alpha4 → R1 |
---|
by , 12 years ago
Attachment: | commit-562e46b-1143406443.diff added |
---|
comment:4 by , 12 years ago
patch: | 0 → 1 |
---|
comment:5 by , 12 years ago
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 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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.