History log of /src/lib/libc/yp/yp_first.c |
Revision | | Date | Author | Comments |
1.17 |
| 03-Jan-2024 |
christos | tidy up some extern declarations
|
1.16 |
| 25-Jun-2012 |
abs | Update old-style definitions to ANSI, remove a couple of register definitions along the way. Fixed gcc 4.1 build (thank you vax)
|
1.15 |
| 02-Mar-2012 |
christos | PR/46111: Wolfgang Stukenbrock: Add yp_setbindtries(3) so that yp operations don't hang forever if requested.
|
1.14 |
| 10-Dec-2003 |
agc | branches: 1.14.56; Modify the licences of code written by Theo De Raadt from a 4-clause to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR 22409 from Joel Baker, approved by Theo de Raadt, and ratified by myself - the only discrepancy being the handling of the original clause 3 in src/usr.sbin/yppoll/yppoll.c.
|
1.13 |
| 06-Jul-2000 |
christos | add explicit casts to avoid parameter conversion warnings.
|
1.12 |
| 22-Jan-2000 |
mycroft | Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
1.11 |
| 16-Sep-1999 |
lukem | check a couple more args
|
1.10 |
| 31-Jan-1999 |
christos | xdrproc_t casts
|
1.9 |
| 15-Nov-1998 |
christos | delint
|
1.8 |
| 21-Jul-1997 |
jtc | If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
|
1.7 |
| 13-Jul-1997 |
christos | Fix RCSID's printf -> warnx Fix gcc warnings Put locally declared functions in local.h
|
1.6 |
| 07-Jul-1997 |
lukem | * implement _yp_invalid_domain, which returns non-zero if the given domainname isn't RFC1035 compliant. Also ensure that the length <= YPMAXDOMAIN (which is less than what RFC1035 allows). * use _yp_invalid_domain in the public front-ends, instead of using hand-rolled checks * fix a typo
|
1.5 |
| 21-May-1997 |
lukem | Don't return allocated memory in an error condition in a char **outXXX argument (set them to the null pointer instead). Thus, code that doesn't specificallly attempt to clean up allocated memory after an error result is returned from yp_...() won't have an unexpected memory leak (i.e, most 3rd party code)
|
1.4 |
| 20-May-1997 |
lukem | Some cleanups for [lib/3655] * Ensure that all 'char **outXXX' pointers aren't the null pointer before use. * Set *outXXX=NULL before checking any other arguments. * Document that *outXXX will always be NULL or a malloc(3)ed string unless outXXX was NULL (in which case YPERR_BADARGS will be returned and the caller shouldn't attempt to free(*outXXX) if *outXXX != NULL;
These changes should prevent most occurances of coredumps when a bad argument was given to a yp client function and the caller attempts to free an outvalue that isn't the null pointer. To be really safe, the caller probably should set the *outvalue=NULL anyway (ref: PR [lib/3580])
|
1.3 |
| 23-May-1996 |
christos | branches: 1.3.2; Avoid using clnt_perror() on the first rpc failure, since it is going to be retried anyway. Only report it every _yplib_nerrs times.
|
1.2 |
| 20-May-1996 |
cgd | these files all need to include <string.h>
|
1.1 |
| 18-May-1996 |
jtc | Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c. Use a constant struct timeval for yp timeouts instead of creating a new struct timeval in each yp function at runtime. Check arguments and return YPERR_BADARGS if invalid.
|
1.3.2.1 |
| 17-Sep-1996 |
jtc | snapshot namespace cleanup: yp
|
1.14.56.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.14.56.1 |
| 17-Apr-2012 |
yamt | sync with head
|