kopensolaris-gnu/glibc.git
23 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 27 Jul 1996 00:32:20 +0000 (00:32 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* ctype/test_ctype.c: Test EOF too.

23 years ago.
miles [Fri, 26 Jul 1996 21:03:47 +0000 (21:03 +0000)]
.

23 years ago(pututline_r): Only call getutid_r if ID has a valid ut_id field.
miles [Fri, 26 Jul 1996 21:02:28 +0000 (21:02 +0000)]
(pututline_r): Only call getutid_r if ID has a valid ut_id field.

23 years ago(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.
miles [Fri, 26 Jul 1996 21:01:48 +0000 (21:01 +0000)]
(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.

23 years ago. libc-960726
roland [Fri, 26 Jul 1996 04:37:35 +0000 (04:37 +0000)]
.

23 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 26 Jul 1996 04:37:17 +0000 (04:37 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
<kkojima@info.kanagawa-u.ac.jp>.

23 years ago.
roland [Fri, 26 Jul 1996 04:35:31 +0000 (04:35 +0000)]
.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:34:41 +0000 (04:34 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* posix/posix2_lim.h: Add missing definition of
_POSIX2_COLL_WEIGHTS_MAX.
Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
to high values since we have no fixed limit.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:34:09 +0000 (04:34 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-time.c (time_add): Correct string constant.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:44 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/ttyent.h: Pretty print prototypes, add missing parameter
names, prepend parameter names with __  and use `__const' instead
of `const'.
* posix/unistd.h: Ditto.
* stdlib/stdlib.h: Ditto.
* string/string.h: Ditto.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:26 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/ttyent.h: Pretty print prototypes, add missing parameter
names, prepend parameter names with __  and use `__const' instead
of `const'.
* posix/unistd.h: Ditto.
* stdlib/stdlib.h: Ditto.
* string/string.h: Ditto.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:17 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/ttyent.h: Pretty print prototypes, add missing parameter
names, prepend parameter names with __  and use `__const' instead
of `const'.
* posix/unistd.h: Ditto.
* stdlib/stdlib.h: Ditto.
* string/string.h: Ditto.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:08 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/ttyent.h: Pretty print prototypes, add missing parameter
names, prepend parameter names with __  and use `__const' instead
of `const'.
* posix/unistd.h: Ditto.
* stdlib/stdlib.h: Ditto.
* string/string.h: Ditto.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:59 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locale-spec.c: New file.
* locale/programs/locale.c: Call `locale_special' function if
no other field matches.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:54 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c (new_composite_name): Little optimization.
Use return value of `memcpy'.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:50 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* catgets/gencat.c: Use "libc" instead of PACKAGE.
* locale/localedef.c: Ditto.
* locale/locale.c: Ditto.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:46 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
_SC_PAGESIZE for buggy systems (= HP UX) out there.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:42 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/findlocale.c (_nl_find_locale): Little optimization.
Use new function `strndup'.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:36 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
* wcsmbs/mbsnrtowcs.c: New file.  Non-standard implementation.
* wcsmbs/wcsnrtombs.c: Ditto.
* wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
wcsnrtombs.

23 years agoThu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 26 Jul 1996 04:32:21 +0000 (04:32 +0000)]
Thu Jul 25 22:46:30 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* locale/programs/localedef.c (__progname): Remove decl.
(main): Use program_invocation_short_name instead of __progname.
(usage): Use program_invocation_name instead of __progname.
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/localedef.c: No need to define `program_name'.
Use global variable `__progname'.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:32 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
function instead of writing single bytes.
(encode_char): Also handle little endian.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:18 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locfile.c (write_locale_data): Always write
LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file.  This is
necessary since message catalogs are also installed in the
LC_MESSAGES/ directory.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:02 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* posix/getconf.c: De-ASNI-fy.  Recognize POSIX.2 constant names.
Use `error' function instead of doing it by hand.
* sysdeps/posix/sysconf.c: De-ANSI-fy.
Handle _SC_COLL_WEIGHTS_MAX.
* sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
_SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
since these do depend on the platform.
Add POSIX.4 symbols.

23 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:30:56 +0000 (04:30 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/loadlocale.c: Little optimization.  Use constant value
from `_nl_category_num_items' instead of byte-order dependend
value from file.

23 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Fri, 26 Jul 1996 04:25:12 +0000 (04:25 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

23 years agoFri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 02:48:20 +0000 (02:48 +0000)]
Fri Jul 26 04:41:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* intl/libintl.h: Define optimizing macros is __OPTIMIZE__ is
defined, not __OPTIMIZED.
(_nl_msg_cat_cntr): Move declaration outside macro definition
to prevent "nested extern" warning.
(dcgettext): Rename local variable `result' to `__result'.

23 years agoRegenerated
roland [Fri, 26 Jul 1996 00:34:28 +0000 (00:34 +0000)]
Regenerated

23 years agoThu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
roland [Thu, 25 Jul 1996 23:49:22 +0000 (23:49 +0000)]
Thu Jul 25 00:25:54  Richard Henderson  <rth@tamu.edu>

* nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
course.
* nss/getXXent_r.c: Likewise.
* nss/nsswitch.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
* sysdeps/unix/bsd/telldir.c (struct record): Likewise.
* sysdeps/unix/dirstream.h (struct __dirstream): Likewise.

23 years ago.
roland [Thu, 25 Jul 1996 22:41:27 +0000 (22:41 +0000)]
.

23 years agoThu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 25 Jul 1996 22:36:38 +0000 (22:36 +0000)]
Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
macro, now put the needed Linux version just once, here; update to
needing linux-2.0.3 headers.
(libc_cv_linuxVER): New macro derived from that.
(kernel header check): Use those macros and some m4 magic to replace
hard-coded `201' and `2.0.1' in several places.

23 years agoWed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com> libc-960725
roland [Thu, 25 Jul 1996 04:53:39 +0000 (04:53 +0000)]
Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/localtime.c: Move lock variable declaration to end of
variable declarations since if is a dummy macro the ; at the
end terminates the variable section of the function.

23 years agoWed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 25 Jul 1996 04:53:36 +0000 (04:53 +0000)]
Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/tzset.c: Undefine `tzset' before function declaration.
Use `weak_function' macro instead of `weak_symbol'.

23 years agoThu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 25 Jul 1996 04:53:32 +0000 (04:53 +0000)]
Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules ($(libdir)/libc.so): Fix typos in generated comment.

23 years agoWed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 24 Jul 1996 17:21:01 +0000 (17:21 +0000)]
Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtouq.c: Additional weak alias is `strtoull', not
`strotull'.

23 years agoWed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 24 Jul 1996 16:29:46 +0000 (16:29 +0000)]
Wed Jul 24 18:26:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-ctype.c: Increment number of fields after change
from Wed Jun 19 03:24:58 1996.

23 years ago. libc-960724
roland [Tue, 23 Jul 1996 22:18:45 +0000 (22:18 +0000)]
.

23 years agoTue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 23 Jul 1996 22:18:29 +0000 (22:18 +0000)]
Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
($(common-objpfx)libc.so): Move deps into that, use it.
[$(subdir) = elf] ($(objpfx)librtld.so): Depend on
$(rpcuserlibs:.so=_pic.a).
* elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
use $(LDLIBS-c.so).

23 years agoThu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 23 Jul 1996 22:07:15 +0000 (22:07 +0000)]
Thu Jul 18 21:41:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
  n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.

23 years ago.
roland [Tue, 23 Jul 1996 21:40:11 +0000 (21:40 +0000)]
.

23 years agoSun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 23 Jul 1996 21:39:43 +0000 (21:39 +0000)]
Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/tzset.c: Include <libc-lock.h>.
(__tzset_lock): New lock variable.
(tzset): New function (weak defn), no longer weak alias for __tzset.
Call __tzset while holding __tzset_lock.
* time/localtime.c: Include <libc-lock.h>.
(__localtime_r): Hold __tzset_lock while doing the work.

23 years agoTue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 23 Jul 1996 15:26:11 +0000 (15:26 +0000)]
Tue Jul 23 02:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-4217.def: Add India to comment for symbol "INR ".
Reported by Raja R Harinath  <harinath@cs.umn.edu>.

23 years agoSat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> libc-960723
roland [Mon, 22 Jul 1996 13:43:16 +0000 (13:43 +0000)]
Sat Jul 20 14:03:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
#undef RESOLVE.

23 years ago. libc-960722
roland [Sun, 21 Jul 1996 11:09:58 +0000 (11:09 +0000)]
.

23 years agoSun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 21 Jul 1996 11:09:45 +0000 (11:09 +0000)]
Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/setenv.c (__environ): Change conditional for #define
from [!HAVE_GNU_LD] to [!_LIBC].
[_LIBC]: Include <libc-lock.h> and define a lock.
(LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
(setenv, unsetenv): Use them.

23 years ago. libc-960721
miles [Sun, 21 Jul 1996 06:52:29 +0000 (06:52 +0000)]
.

23 years ago(socketpair): Make TYPE an int.
miles [Sun, 21 Jul 1996 06:52:07 +0000 (06:52 +0000)]
(socketpair): Make TYPE an int.

23 years ago(socket): Make TYPE an int.
miles [Sun, 21 Jul 1996 06:51:47 +0000 (06:51 +0000)]
(socket): Make TYPE an int.

23 years agoWhoops, test MAXIOV correctly.
miles [Sun, 21 Jul 1996 06:50:52 +0000 (06:50 +0000)]
Whoops, test MAXIOV correctly.

23 years ago(write_locale_data): Deal with missing UIO_MAXIOV.
miles [Sun, 21 Jul 1996 06:48:22 +0000 (06:48 +0000)]
(write_locale_data): Deal with missing UIO_MAXIOV.

23 years ago.
miles [Sun, 21 Jul 1996 02:57:09 +0000 (02:57 +0000)]
.

23 years ago<unistd.h>: New include.
miles [Sun, 21 Jul 1996 02:54:20 +0000 (02:54 +0000)]
<unistd.h>: New include.

23 years ago.
miles [Sun, 21 Jul 1996 02:33:51 +0000 (02:33 +0000)]
.

23 years ago(uname): Deref UNAME to get nodename.
miles [Sun, 21 Jul 1996 02:33:13 +0000 (02:33 +0000)]
(uname): Deref UNAME to get nodename.

23 years agoSat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 21 Jul 1996 01:55:49 +0000 (01:55 +0000)]
Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Win32 hacks from <Rob_Tulloh@tivoli.com>.
* posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
use void * for my_realloc; include <malloc.h> for alloca.
(glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
* posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
* posix/glob.h: Likewise.

23 years ago.
miles [Sun, 21 Jul 1996 01:34:17 +0000 (01:34 +0000)]
.

23 years ago(__libc_lock_define): Backslashify continuation line.
miles [Sun, 21 Jul 1996 01:32:08 +0000 (01:32 +0000)]
(__libc_lock_define): Backslashify continuation line.

23 years ago.
miles [Sat, 20 Jul 1996 17:34:39 +0000 (17:34 +0000)]
.

23 years ago(__select):
miles [Sat, 20 Jul 1996 17:33:17 +0000 (17:33 +0000)]
(__select):
  Don't poll on the last call __io_select unless there's only a
    single descriptor, as each descriptor now has its own reply port.
  If there is only a single descriptor, just use its reply port for
    everything and don't bother creating the port set.

23 years ago.
roland [Sat, 20 Jul 1996 12:06:21 +0000 (12:06 +0000)]
.

23 years ago.
roland [Sat, 20 Jul 1996 12:06:02 +0000 (12:06 +0000)]
.

23 years agoThu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
roland [Sat, 20 Jul 1996 11:54:36 +0000 (11:54 +0000)]
Thu Jul 18 12:33:57 1996  Roland McGrath  <roland@baalperazim.frob.com>

* Rules (dummy.o, empty.o): Targets removed.
(dummy.c, empty.c): New targets replace them.

23 years ago.
roland [Sat, 20 Jul 1996 11:53:52 +0000 (11:53 +0000)]
.

23 years agoFri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 20 Jul 1996 11:41:35 +0000 (11:41 +0000)]
Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* dlfcn.h, db.h: New wrapper headers.

23 years agoFri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 20 Jul 1996 11:27:43 +0000 (11:27 +0000)]
Fri Jul 19 15:45:20 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
operator to yesexpr and noexpr string.

23 years ago.
roland [Sat, 20 Jul 1996 11:26:09 +0000 (11:26 +0000)]
.

23 years agoSat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 20 Jul 1996 11:23:01 +0000 (11:23 +0000)]
Sat Jul 20 07:15:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* crypt/Makefile, crypt/nocrypt.c: Removed.  It is illegal to export
  from the USA any software that even makes it easy to drop in an
  encryption module of foreign origin.
* Makerules (cryptobjdir): Variable removed.
($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
* Makefile (subdirs): Remove crypt.

23 years agoFri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com> libc-960720
roland [Fri, 19 Jul 1996 22:21:53 +0000 (22:21 +0000)]
Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.

23 years agoFri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 19 Jul 1996 22:21:49 +0000 (22:21 +0000)]
Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
(xdr_u_long): Use switch instead of chain of if-statements.
   Remove gratitous parentheses around return expressions.
(xdr_enum): Open code case where INT_MAX<LONG_MAX.

23 years agoFri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 19 Jul 1996 22:21:43 +0000 (22:21 +0000)]
Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
  old code would have failed on a big-endian 64-bit architecture).
* sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.

23 years agoFri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 19 Jul 1996 22:21:37 +0000 (22:21 +0000)]
Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
  not int.

23 years agoFri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 19 Jul 1996 21:16:42 +0000 (21:16 +0000)]
Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
for `struct stat;' forward decl.

23 years agoFri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 19 Jul 1996 20:30:02 +0000 (20:30 +0000)]
Fri Jul 19 22:25:19 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-4217.def: Add some more standardized currency
symbols.

23 years ago.
roland [Fri, 19 Jul 1996 17:18:51 +0000 (17:18 +0000)]
.

23 years agoFri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 19 Jul 1996 17:18:27 +0000 (17:18 +0000)]
Fri Jul 19 13:18:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* hurd/report-wait.c (describe_number): Use unsigned long int for J.

23 years ago. libc-960719
roland [Thu, 18 Jul 1996 15:46:04 +0000 (15:46 +0000)]
.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 15:41:01 +0000 (15:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/sys/ustat.h: New file.
* misc/ustat.h: Ditto.
* sysdeps/generic/ustatbits.h: Ditto.
* sysdeps/stub/ustat.c: Ditto.
* sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
* misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
  ustatbits.h.
(routines): Mention ustat.

23 years ago. libc-960718
roland [Thu, 18 Jul 1996 08:43:26 +0000 (08:43 +0000)]
.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:48 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
  alphabetically correct place.  Mention ustat.

23 years agoTue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:44 +0000 (08:41 +0000)]
Tue Jul 16 15:06:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
  avoid duplicate declarations.
Fri Jul 12 16:58:44 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:41 +0000 (08:41 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* resolv/res_comp.c (res_hnok): Use empty statement in place
of NULL (which generates a "useless expression" warning in
gcc).

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:39 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/getutline_r.c (getutline_r): Stop searching only if
  ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:29 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/sys/ustat.h: New file.
* misc/ustat.h: Ditto.
* sysdeps/generic/ustatbits.h: Ditto.
* libc-orig/sysdeps/stub/ustat.c: Ditto.
* sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
* misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
  ustatbits.h.
(routines): Mention ustat.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:25 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
common symbol (makes errno accessible from gdb).

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:22 +0000 (08:41 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
of int.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:15 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
* sysdeps/alpha/elf/start.S: here.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:12 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
separate loop from search for UT_ID.  Fix code so it is in
sync with Unix man page.

23 years agoSun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:08 +0000 (08:41 +0000)]
Sun Jul 14 19:08:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
and alpha-gnu-linuxecoff targets.

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:41:04 +0000 (08:41 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/pututline_r.c (pututline_r): Test ut_id in repositioning
test, not ut_type.

23 years agoThu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 18 Jul 1996 08:40:59 +0000 (08:40 +0000)]
Thu Jul 18 04:27:21 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).

23 years agoWed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 18 Jul 1996 08:40:53 +0000 (08:40 +0000)]
Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/logwtmp.c (logwtmp): Reimplemented.  Must ensure that a
  record always gets appended at end of file (wtmp is a log file,
  after all).  Set ut_type to DEAD_PROCESS if name is empty.

23 years agoRegenerated from sysdeps/mach/hurd/errnos.awk manual/errno.texi /build/libc/config...
roland [Thu, 18 Jul 1996 08:40:22 +0000 (08:40 +0000)]
Regenerated from sysdeps/mach/hurd/errnos.awk manual/errno.texi /build/libc/config.h libintl.h intl/libintl.h features.h sys/cdefs.h misc/sys/cdefs.h locale.h locale/locale.h /lib/gcc-lib/i486-gnu/2.7.2/include/stddef.h /include/mach/message.h /include/mach/kern_return.h /include/mach/machine/kern_return.h /include/mach/port.h /include/mach/boolean.h /include/mach/machine/boolean.h /include/mach/machine/vm_types.h /include/mach/mig_errors.h /include/device/device_types.h /include/mach/std_types.h

23 years agoThu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
roland [Thu, 18 Jul 1996 08:34:01 +0000 (08:34 +0000)]
Thu Jul 18 04:33:21 1996  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
check.  mib's clueless hacking broke it.

23 years ago.
roland [Thu, 18 Jul 1996 04:18:05 +0000 (04:18 +0000)]
.

23 years agoWed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
roland [Thu, 18 Jul 1996 03:59:58 +0000 (03:59 +0000)]
Wed Jul 17 23:56:35 1996  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
with $(..) in output.

23 years ago.
roland [Wed, 17 Jul 1996 23:09:43 +0000 (23:09 +0000)]
.

23 years agoWed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 23:09:22 +0000 (23:09 +0000)]
Wed Jul 17 21:53:45 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile (dl-routines): Add dl-cache.
* elf/dl-cache.c: New file.
* elf/dl-load.c (_dl_map_object): Check cache before default path.

23 years ago.
roland [Wed, 17 Jul 1996 19:32:22 +0000 (19:32 +0000)]
.

23 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 19:31:42 +0000 (19:31 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/m68k/Makefile (crypt): Variable removed.
* sysdeps/sparc/Makefile: Likewise.

23 years agoWed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 17 Jul 1996 19:31:40 +0000 (19:31 +0000)]
Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/tstscanf.c: Change test program so that return
value is != 0 if one test failed.

23 years agoWed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 17 Jul 1996 19:31:37 +0000 (19:31 +0000)]
Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c: Major change.  Now read character
from stream only if needed.  Before it was read after the
previous character was used.
Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>