apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: cvs commit: apr/user/netware userinfo.c groupinfo.c
Date Fri, 31 Aug 2001 17:36:58 GMT
On 31 Aug 2001 bnicholes@apache.org wrote:

> bnicholes    01/08/31 09:28:06
>
>   Added:       user/netware userinfo.c groupinfo.c
>   Log:
>   NetWare user and group info functions
>
>   Revision  Changes    Path
>   1.1                  apr/user/netware/userinfo.c
>
>   APR_DECLARE(apr_status_t) apr_get_home_directory(char **dirname,
>                                                    const char *username,
>                                                    apr_pool_t *p)
>   {
>       return APR_SUCCESS;
>   }

Stubs like this in APR typically return APR_ENOTIMPL so that the caller
has some way to know that *dirname (in this example) was not set so it can
avoid a segfault if it wants...

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message