summaryrefslogtreecommitdiff
path: root/libiohelp/iouser-create.c
AgeCommit message (Collapse)Author
2013-07-19Fix error handling macro EJustus Winter
Previously the macro argument err was expanded and thus potentially evaluated multiple times. This is fine for simple values or pure functions, but not for say iohelp_create_iouser. Fix this by evaluating the macro argument only once.
2002-05-052002-05-04 Roland McGrath <roland@frob.com>Roland McGrath
* iouser-create.c (iohelp_create_complex_iouser): Add const to args. * iohelp.h: Update decl.
2001-06-162001-04-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* iohelp.h (iohelp_create_iouser): Change declaration such that as error_t is now returned and the iouser is a parameter. (iohelp_create_empty_iouser): New funtion. (iohelp_create_simple_iouser): New function. (iohelp_create_complex_iouser): New funtion. * iouser-create.c (iohelp_create_iouser): Implement new semantics. (iohelp_create_empty_iouser): Implement new function. (iohelp_create_simple_iouser): Implement new function. (iohelp_create_complex_iouser): Implement new function. * iouser-dup.c (iohelp_dup_iouser): Implement new semantics. * iouser-reauth.c (iohelp_reauth): Implement new semantics.
1996-11-18Mon Nov 18 16:37:59 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* iouser-reauth.c: Include <hurd/auth.h>. Sat Nov 16 17:54:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (SRCS): Add shared.c. * shared.c: New file. Fri Nov 15 13:39:46 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iouser-create.c (iohelp_create_iouser): Set NEW->hook to zero. * iouser-dup.c (iohelp_dup_iouser): Likewise. Tue Nov 12 21:51:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iohelp.h: Include <idvec.h>.
1996-11-13Wed Nov 6 19:26:14 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (SRCS): Add iouser-create.c, iouser-dup.c iouser-reauth.c, and iouser-free.c. (OBJS): Compute automatically. * iohelp.h (iohelp_create_user): New function. * iouser-create.c: New file. Tue Nov 5 21:51:24 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iohelp.h (struct iouser): New type. (iohelp_dup_iouser, iohelp_free_iouser, iohelp_reauth): New functions. * iouser-dup.c, iouser-reauth.c, iouser-free.c: New files.