[haiku-bugs] Re: [Haiku] #8770: link() return errno

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 13 Jan 2013 17:49:34 -0000

#8770: link() return errno
----------------------------+----------------------------
   Reporter:  scottmc       |      Owner:  nobody
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+----------------------------

Comment (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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8770#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: