kopensolaris-gnu/glibc.git
23 years agostring/argz-delete.c (argz_delete): Use memmove instead of
mib [Mon, 8 Jul 1996 17:12:04 +0000 (17:12 +0000)]
string/argz-delete.c (argz_delete): Use memmove instead of
memcpy for possbly overlapping strings.

23 years agoRegenerated: autoconf sysdeps/generic/configure.in
miles [Mon, 8 Jul 1996 15:26:36 +0000 (15:26 +0000)]
Regenerated: autoconf  sysdeps/generic/configure.in

23 years agoRegenerated: autoconf sysdeps/unix/configure.in
miles [Mon, 8 Jul 1996 15:26:26 +0000 (15:26 +0000)]
Regenerated: autoconf  sysdeps/unix/configure.in

23 years agoRegenerated: autoconf sysdeps/unix/common/configure.in
miles [Mon, 8 Jul 1996 15:26:18 +0000 (15:26 +0000)]
Regenerated: autoconf  sysdeps/unix/common/configure.in

23 years ago.
roland [Mon, 8 Jul 1996 10:21:07 +0000 (10:21 +0000)]
.

23 years agoMon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> libc-960708
roland [Mon, 8 Jul 1996 08:32:05 +0000 (08:32 +0000)]
Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
  instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* stdlib/strtod.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

23 years ago.
roland [Mon, 8 Jul 1996 06:18:25 +0000 (06:18 +0000)]
.

23 years agoMon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 06:17:22 +0000 (06:17 +0000)]
Mon Jul  8 02:14:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
storage class.  GCC gives an error for non-extern data defns with the
alias attribute.
Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
  instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
It was not used in any assembler code.
(weak_symbol_asm): Renamed to weak_extern_asm.
(weak_extern): New macro replaces weak_symbol for weak extern refs;
define to weak_extern_asm for [!ASSEMBLER].
Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
define those now as aliases.
Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
[GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
after GCC weak attribute decl.

23 years agoMon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 06:17:19 +0000 (06:17 +0000)]
Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
If this is defined, don't declare _dl_rtld_map as weak, and
don't check for MAP pointing to it.  RESOLVE is always null in this
case, so test with #ifdef instead of if.
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.

23 years agoMon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 06:17:12 +0000 (06:17 +0000)]
Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
  instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

23 years agoMon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 06:16:57 +0000 (06:16 +0000)]
Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.

23 years ago*** empty log message ***
mib [Mon, 8 Jul 1996 05:52:04 +0000 (05:52 +0000)]
*** empty log message ***

23 years ago(__argz_insert): Use memmove instead of memcpy for possible
mib [Mon, 8 Jul 1996 05:37:55 +0000 (05:37 +0000)]
(__argz_insert): Use memmove instead of memcpy for possible
overlapping strings.

23 years ago.
roland [Sun, 7 Jul 1996 23:55:24 +0000 (23:55 +0000)]
.

23 years agoSun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 7 Jul 1996 23:54:27 +0000 (23:54 +0000)]
Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
(element printer): Check for elt in ALIAS, instead of special case
for EWOULDBLOCK.

23 years agoRegenerated from sysdeps/gnu/errlist.awk manual/errno.texi
roland [Sun, 7 Jul 1996 23:52:39 +0000 (23:52 +0000)]
Regenerated from sysdeps/gnu/errlist.awk manual/errno.texi

23 years ago.
roland [Sun, 7 Jul 1996 23:23:51 +0000 (23:23 +0000)]
.

23 years agoSun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 7 Jul 1996 23:23:28 +0000 (23:23 +0000)]
Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* io/Makefile (headers): Add sys/vfs.h.
* io/sys/vfs.h: New file.

23 years ago.
roland [Sun, 7 Jul 1996 22:49:48 +0000 (22:49 +0000)]
.

23 years ago.
roland [Sun, 7 Jul 1996 22:46:26 +0000 (22:46 +0000)]
.

23 years agoSun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 7 Jul 1996 22:45:05 +0000 (22:45 +0000)]
Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
critical section lock before unlinking dying active resources.
The unlock just before return is right (i.e. old code unlocked twice).

23 years agoRecognize rtems as an o/s.
dje [Sun, 7 Jul 1996 17:26:50 +0000 (17:26 +0000)]
Recognize rtems as an o/s.

23 years ago.
miles [Sun, 7 Jul 1996 16:54:03 +0000 (16:54 +0000)]
.

23 years ago(struct line_wrap_data):
miles [Sun, 7 Jul 1996 16:51:44 +0000 (16:51 +0000)]
(struct line_wrap_data):
  Rename POINT field to POINT_COL.
  Add POINT_OFFS field.
(__line_wrap_update): New decl.
(line_wrap_set_lmargin, line_wrap_set_rmargin,
  line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.

23 years ago(lwupdate):
miles [Sun, 7 Jul 1996 16:49:06 +0000 (16:49 +0000)]
(lwupdate):
  New function, mostly was __line_wrap_update.
  Use POINT_COL field instead of POINT.
  Update D->point_offs when done.
  Use memmove instead of memcpy where overlap is possible (not
     necessary using current implementation of memcpy, but...).
(__line_wrap_output): Use lwupdate.
(__line_wrap_update): New function.
(line_wrap_set_lmargin, line_wrap_set_rmargin,
  line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
(ensure_unwrapped, ensure_wrapped): New functions.

23 years ago. libc-960707
roland [Sat, 6 Jul 1996 11:19:21 +0000 (11:19 +0000)]
.

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

23 years agoDrepper added Q10
roland [Sat, 6 Jul 1996 11:00:43 +0000 (11:00 +0000)]
Drepper added Q10

23 years agoregenerated by gperf from locfile-kw.gperf
roland [Sat, 6 Jul 1996 10:59:13 +0000 (10:59 +0000)]
regenerated by gperf from locfile-kw.gperf

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 6 Jul 1996 10:54:55 +0000 (10:54 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* math/Makefile (routines): Move s_ldexp, s_frexp, s_modf here from
calls, since the f and l versions are not all there yet.

23 years ago. libc-960706
miles [Sat, 6 Jul 1996 03:57:56 +0000 (03:57 +0000)]
.

23 years ago(logout): Do nothing if getutline_r returns ESRCH.
miles [Sat, 6 Jul 1996 03:49:32 +0000 (03:49 +0000)]
(logout): Do nothing if getutline_r returns ESRCH.

23 years ago(login): Make a copy of *UT, fill in various fields that we supply (ut_line,
miles [Sat, 6 Jul 1996 00:16:42 +0000 (00:16 +0000)]
(login): Make a copy of *UT, fill in various fields that we supply (ut_line,
  ut_type, ut_pid), and use the copy in place of UT.

23 years ago(pututline_r):
miles [Sat, 6 Jul 1996 00:03:07 +0000 (00:03 +0000)]
(pututline_r):
  Since we assign RESULT from lseek now, check that it's >= 0, not == 0.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 23:55:36 +0000 (23:55 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* math/Makefile (calls): Add s_ldexp, s_frexp, s_modf.
These functions are traditionally duplicated in libc and libm.
Go with the flow.

23 years ago.
roland [Fri, 5 Jul 1996 23:51:10 +0000 (23:51 +0000)]
.

23 years ago(getutline_r): When we return ESRCH, mark UTMP_DATA->ubuf invalid (by setting
miles [Fri, 5 Jul 1996 23:48:41 +0000 (23:48 +0000)]
(getutline_r): When we return ESRCH, mark UTMP_DATA->ubuf invalid (by setting
  UTMP_DATA->loc_utmp to 0).

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 23:47:08 +0000 (23:47 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
signal during critical section doing interruptible RPC, if
_hurdsig_abort_rpcs wants to change thread state, do thread_set_state
before thread_resume.  If in critical section, pass 0 for SIGNO to
_hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 23:47:02 +0000 (23:47 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* extra-lib.mk: Fix typo in $(extra-libs-others) conditional.

23 years ago.
roland [Fri, 5 Jul 1996 20:02:58 +0000 (20:02 +0000)]
.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 20:02:33 +0000 (20:02 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/sys/user.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add it.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.

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

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:17 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
for `struct timespec' member names.
(TIMESPEC_TO_TIMEVAL): Likewise.

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

* time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
   Move struct timespec defn outside [_TIME_H] so it can be got with
  #define __need_timespec.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:10 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
(struct timeval): Add bodiless decl for scope.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:07 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
points within DATA->linebuffer; otherwise use all of DATA->linebuffer
itself, no need to skip past a NUL.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:03 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.h (known_function): Comment fix.
* nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
directly.  Do the lookup and insertion with a single call, and fill in
the tree node afterwards if new.
(known_compare, nss_find_entry, nss_insert_entry): Functions removed.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:16:58 +0000 (19:16 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* extra-lib.mk: Don't test for $($(lib)-no-lib-dep).  Instead match
$(lib) in $(extra-libs-others).
* sunrpc/Makefile (extra-libs-others): New variable.
(librpcsvc-no-lib-dep): Variable removed.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:16:55 +0000 (19:16 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (extra-libs-others): New variable.

23 years agoThu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 5 Jul 1996 17:05:48 +0000 (17:05 +0000)]
Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/utmp.h: Fix typos.

23 years agoThu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 5 Jul 1996 17:05:43 +0000 (17:05 +0000)]
Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/syslog.c (vsyslog): Use __send instead of send and
  __connect instead of connect to avoid name-space collisions (e.g.,
  with psgetty).

23 years ago.
roland [Fri, 5 Jul 1996 17:05:14 +0000 (17:05 +0000)]
.

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

* elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
* sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
_dl_rtld_map.
(RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
(elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
(elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
_dl_rtld_map weak only here.

23 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 17:02:07 +0000 (17:02 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.

23 years ago. libc-960705
roland [Thu, 4 Jul 1996 00:07:18 +0000 (00:07 +0000)]
.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:06:45 +0000 (00:06 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcrtomb.c (wcrtomb): Fix typo.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:06:42 +0000 (00:06 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* posix/getconf.c: Recognize new variables from P1003.1g.
* posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
_POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
* posix/unistd.h: Add description of the P1003.1g variables.
* sysdeps/generic/confname.h: Define _SC_* values for new
variables.
* sysdeps/posix/fpathconf.c (fpathconf): Add handling of
_PC_SOCK_MAXBUF.
* sysdeps/stub/fpathconf.c (fpathconf): Ditto.
* sysdeps/posix/sysconf.c (sysconf): Add handling of new
P1003.1g variables.
* sysdeps/stub/sysconf.c (sysconf): Ditto.
* sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
_POSIX_SELECT since Linux has this.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:06:25 +0000 (00:06 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* posix/getconf.c: Recognize new variables from P1003.1g.
* posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
_POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
* posix/unistd.h: Add description of the P1003.1g variables.
* sysdeps/generic/confname.h: Define _SC_* values for new
variables.
* sysdeps/posix/fpathconf.c (fpathconf): Add handling of
_PC_SOCK_MAXBUF.
* sysdeps/stub/fpathconf.c (fpathconf): Ditto.
* sysdeps/posix/sysconf.c (sysconf): Add handling of new
P1003.1g variables.
* sysdeps/stub/sysconf.c (sysconf): Ditto.
* sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
_POSIX_SELECT since Linux has this.

23 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:06:19 +0000 (00:06 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/posix/isfdtype.c: New file.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:06:09 +0000 (00:06 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

The latest Japanese proposal for POSIX locales renames the
CHARMAP keyword in locale definition files to CHARCONV.
* locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
        function ctype_is_charmap to ctype_is_charconv.
* locale/programs/locfile-kw.gperf: Replace charmap keyword with
        charconv.
* locale/programs/locfile-token.h: Add definition of token
        charconv.
* locale/programs/locfile.c: Recognize charconv keyword.  Rename
        lables according to this.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:57 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
string/strxfrm.c: Add some more casts to prevent signed<->unsigned
warnings.

23 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:47 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sys/select.h: New file, wrapper header.
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

New stuff described in P1003.1g.
* misc/Makefile (headers): Add sys/select.h.
(routines): Add pselect.
* misc/sys/select.h: New file.  Declare select functions and
needed data types and macros.
* sysdeps/generic/pselect.c: New file.  Add generic implementation
of pselect() function which uses select().

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:44 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h (get_weight): Cast constants to prevent
        warnings.

23 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:41 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.

23 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:38 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:29 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

New stuff described in P1003.1g.
* misc/Makefile (headers): Add sys/select.h.
(routines): Add pselect.
* misc/sys/select.h: New file.  Declare select functions and
needed data types and macros.
* sysdeps/generic/pselect.c: New file.  Add generic implementation
of pselect() function which uses select().

23 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:19 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* socket/Makefile (routines): Add isfdtype.
* sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
* sysdeps/stub/isfdtype.c: New file.  Stub implementation of
isfdtype.

23 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:14 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
fd_set, associated macros, and select decl.

23 years ago.
roland [Wed, 3 Jul 1996 19:07:09 +0000 (19:07 +0000)]
.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 19:06:31 +0000 (19:06 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile (LDFLAGS-dl.so): New variable.
(libdl.so): Depend on eval.so.
(distribute): Add eval.c.
* elf/eval.c: New file.

23 years ago.
roland [Wed, 3 Jul 1996 18:51:10 +0000 (18:51 +0000)]
.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:55 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
(libc.so): Instead, give this deps on lib{mach,hurd}user.so.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:53 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
extracting _dl_rtld_map.l_addr.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:50 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
newline from flushing full buffer in loop, fix test so no fflush is
done when last byte written exactly fills the buffer.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:47 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
weak.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:44 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/strftime.c (strftime: do_number): Adjust P and I after sprintf
in case it wrote fewer than MAXDIGITS chars.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:41 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.

23 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:39 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* shlib-versions (*-*-*): Set libnss_db=1.

23 years ago(login): Only Frob OLD->ut_type if getutline_r actually found any entry. libc-960703
miles [Wed, 3 Jul 1996 05:22:21 +0000 (05:22 +0000)]
(login): Only Frob OLD->ut_type if getutline_r actually found any entry.

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

* elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.

23 years ago.
roland [Tue, 2 Jul 1996 21:57:31 +0000 (21:57 +0000)]
.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 21:57:16 +0000 (21:57 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* rpm/template (%build): Use @prefix@ instead of always /usr.
Set up configparms only if @prefix@ is in fact /usr.
* rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.

23 years ago.
roland [Tue, 2 Jul 1996 21:53:43 +0000 (21:53 +0000)]
.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 21:53:21 +0000 (21:53 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile: Add missing endif.

23 years ago.
roland [Tue, 2 Jul 1996 19:42:29 +0000 (19:42 +0000)]
.

23 years agoMon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:41:06 +0000 (19:41 +0000)]
Mon Jul  1 15:44:34 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* stdio-common/tst-ungetc.c: Include unistd.h.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:40:48 +0000 (19:40 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-ethers.c (ntohost): Fix db key.

23 years ago.
roland [Tue, 2 Jul 1996 19:35:40 +0000 (19:35 +0000)]
.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:05 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_db/db-XXX.c: New file.
* nss/Makefile (services): Add db.
(libnss_db-inhibit-o): New variable.
(libnss_db-routines): New variable.
(distribute): Append db-XXX.c.
(libnss_db.so): Depend on libdb.so and libnss_files.so.
($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
* nss/Makefile (libnss_dns.so): Depend on libresolv.so.
(resobjdir, LDLIBS-nss_dns.so): Variables removed.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:03 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/svc_tcp.c (abort): Don't declare.  Instead define as macro
casting abort to fn returning bool_t.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:01 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
args, ignored.
(DATAFILE): New macro.
* nss/nss_files/files-parse.c (GENERIC): If undefined, define to
"files-XXX.c".
* nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
Pass db key args to DB_LOOKUP.
(DATAFILE): Macro removed.
(DATABASE): New macro replaces it, lacks "/etc/" prefix.
* nss/nss_files/files-service.c: Likewise.
* nss/nss_files/files-pwd.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-grp.c: Likewise.
* nss/nss_files/files-ethers.c: Likewise.
* nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
the parser function.
[EXTERN_PARSER] (LINE_PARSER): Define to empty.
* nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
* nss/nss_files/files-grp.c: Likewise.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:58 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:54 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
args, ignored.
(DATAFILE): New macro.
* nss/nss_files/files-parse.c (GENERIC): If undefined, define to
"files-XXX.c".
* nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
Pass db key args to DB_LOOKUP.
(DATAFILE): Macro removed.
(DATABASE): New macro replaces it, lacks "/etc/" prefix.
* nss/nss_files/files-service.c: Likewise.
* nss/nss_files/files-pwd.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-grp.c: Likewise.
* nss/nss_files/files-ethers.c: Likewise.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:51 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/xdr.c: Remove malloc decl.
* sunrpc/portmap.c: Likewise.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:48 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/linux-compat.c: File removed.
* elf/Makefile (distribute): Remove linux-compat.c.
(ld-linux.so.1): Remove target and associated variables.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:46 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_db/db-XXX.c: New file.
* nss/Makefile (services): Add db.
(libnss_db-inhibit-o): New variable.
(libnss_db-routines): New variable.
(distribute): Append db-XXX.c.
(libnss_db.so): Depend on libdb.so and libnss_files.so.
($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:44 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makeconfig (BUILD_CC): If undefined, define to $(CC).
* Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
of ld.so so lookups for that soname find it.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:41 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
(DATABASE): Define this instead of DATAFILE.
* nss/nss_files/files-hosts.c: Likewise.
(hostbyname): Use LOOKUP_NAME macro.

23 years ago.
roland [Tue, 2 Jul 1996 17:43:35 +0000 (17:43 +0000)]
.

23 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:19 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
invoked directly, and l_libname from that if PT_INTERP missing.
Set l_name from l_libname only if not set from argv.