From 600927014b78e4247e36bbc554c188c7a3cca40e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 21 Sep 1995 04:01:40 +0000 Subject: Wed Sep 20 18:02:03 1995 Roland McGrath * locale/locale.c: Include errno.h. * locale/localedef.c: Likewise. Tue Sep 19 00:02:06 1995 Roland McGrath * Makefile (distclean-1): Remove config.cache, config.log, config.h. (parent-mostlyclean): Remove all flavors of the parent library. * misc/mntent.c (getmntent): Skip multiple whitespace chars between fields. * hurd/hurdstartup.c (_hurd_startup): If RPC returns EXEC_STACK_ARGS flag, get args from stack. If args on stack but have info from RPC, relocate args on stack to make space for struct hurd_startup_data. * elf/dl-object.c: Include errno.h. * posix/execvp.c: Likewise. * dirent/scandir.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/generic/setenv.c: Likewise. * stdlib/msort.c: Likewise. * stdio/memstream.c: Likewise. * stdio/fclose.c: Likewise. * stdio/getdelim.c: Likewise. * stdio/setvbuf.c: Likewise. * sysdeps/ieee754/ldexp.c: Likewise. * locale/locfile-parse.c: Likewise. * stdlib/lcong48_r.c: Don't check for null argument; let it fault. * stdlib/seed48_r.c: Likewise. * stdlib/srand48_r.c: Likewise. * stdlib/jrand48_r.c: Likewise. * stdlib/nrand48_r.c: Likewise. * misc/search.h: Many decls for hsearch functions. --- stdlib/jrand48_r.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'stdlib/jrand48_r.c') diff --git a/stdlib/jrand48_r.c b/stdlib/jrand48_r.c index b1a4378028..1a89790525 100644 --- a/stdlib/jrand48_r.c +++ b/stdlib/jrand48_r.c @@ -25,13 +25,6 @@ jrand48_r (xsubi, buffer, result) struct drand48_data *buffer; long *result; { - /* Be generous for the arguments, detect some errors. */ - if (result == NULL) - { - errno = EFAULT; - return -1; - } - /* Compute next state. */ if (__drand48_iterate (xsubi, buffer) < 0) return -1; -- cgit v1.2.3