access()
To: None <gnats-admin>
From: None <noses@oink.rhein.de>
List: netbsd-bugs
Date: 03/04/1994 09:50:02
>Number: 154
>Category: lib
>Synopsis: function returns 1 in case of success
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 4 09:50:01 1994
>Originator: Noses
>Organization:
" "
>Release: netbsd-current as of today
>Environment:
System: NetBSD oink 0.9a OINK#55 i386
>Description:
Function access () in unistd.h doesn't return 0 on success - it's
returning 1. This is breaking sliplogin which is expecting 0 to be
returned. Probably other programs are breaking too.
>How-To-Repeat:
Run sliplogin. Write a short example using access().
>Fix:
Change the function in the library or document this un-Posixish
behaviour and adapt ther rest of the system accordingly.
Achim
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------