Skip to content
Snippets Groups Projects
  1. Jul 11, 1996
  2. Jul 10, 1996
  3. Jul 09, 1996
    • Roland McGrath's avatar
      * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, · 07a4742f
      Roland McGrath authored
      	__glob_closedir_hook): Remove decls.
      
      	* sysdeps/generic/machine-gmon.h: Declare mcount_internal.
      
      	* sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
       	for send and connect syscalls.
      
      	* socket/sys/socket.h: New file, taken from non-sysdep parts of
      	linux/sys/socket.h; break sysdeps parts out into socketbits.h.
      	Declare __ names for send and connect.
      	* sysdeps/generic/socketbits.h: New file.
      	* sysdeps/unix/sysv/linux/socketbits.h: New file.
      	* sysdeps/unix/sysv/linux/sys/socket.h: File removed.
      	* sysdeps/generic/sys/socket.h: File removed.
      
      	* sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
      	* sysdeps/mach/hurd/send.c: Likewise.
    • Roland McGrath's avatar
      Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · c1509239
      Roland McGrath authored
      	* sysdeps/mach/libc-lock.h: New file.
      	* sysdeps/unix/readdir.c: Do locking.
      	* sysdeps/unix/seekdir.c: Likewise.
      	* sysdeps/unix/rewinddir.c:  Likewise.
      	* sysdeps/unix/closedir.c: Likewise.
      	* sysdeps/unix/bsd/telldir.c: Likewise.
      	* sysdeps/mach/hurd/seekdir.c: Likewise.
      	* sysdeps/mach/hurd/readdir.c: Likewise.
      	* sysdeps/mach/hurd/closedir.c: Likewise.
      	* sysdeps/mach/hurd/opendir.c: Initialize the lock.
      	* sysdeps/unix/opendir.c: Likewise.
      	* sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
      	(struct __dirstream): Add lock member using __libc_lock_define.
      	* sysdeps/unix/dirstream.h: Likewise.
      
      	* sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
      
      	* stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
      
      	* stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
      
      Thu Jul  4 01:34:04 1996  Ulrich Drepper  <drepper@cygnus.com>
      
      	* locale/programs/stringtrans.c: Fix typo in copyright.
      
      	* stdio-common/printf-prs.c: Add casts to prevent
              signed<->unsigned warnings.
      
      	* stdio-common/printf-parse.h: Initialize state variable before
      	calling mbrlen.
      	* stdio-common/printf-prs.c: Don't initialize state variable here.
      	* stdio-common/vfprintf.c: Don't initialize state variable.
      	(vfprintf): While determining length of multibyte string don't
      	try to be clever in determining characters to use for first
      	call.
      
      	Add real implementation of multibyte<->wide char conversion
      	functions.  The functions always convert between the fixed wide
      	char format (ISO 10646 in UCS4) and the UTF8 representation of
      	this character set.  Conversion between the currently used
      	8bit character set and ISO 10646 will not take place.  This is
      	what iconv() is for.
      	* wcsmbs/wchar.h (mbstate_t): Define as structure to replace
      	dummy definition.
      	Add optimized version of `mbrlen' function.
      	* wcsmbs/btowc.c (btowc): Restrict range of legal characters
      	to 0...0x7f.
      	* wcsmbs/wctob.c (wctob): Restrict range of legal characters
      	to 0..0x7f.
      	* wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
      	This is needed in the wchar.h header.
      	* wcsmbs/mbrtowc.c: Replace dummy implementation.  Convert UTF8
      	encoded character to UCS4.
      	* wcsmbs/mbsinit.c: Replace dummy implementation.  Test COUNT
      	element of `mbstate_t' for initial state.
      	* wcsmbs/mbsrtowcs.c: Replace dummy implementation.  Convert UTF8
      	encoded string to UCS4 string.
      	* wcsmbs/wcrtomb.c: Replace dummy implementation.  Convert UCS4
      	character to UTF8 encoded form.
      	* wcsmbs/wcsrtombs.c: Replace dummy implementation.  Convert UCS4
      	encoded string to UTF8 encoded form.
      c1509239
    • Roland McGrath's avatar
      * sysdeps/unix/sysv/linux/configure.in: Use version number in cache · 089b2b8a
      Roland McGrath authored
       	variable name, so new a libc with new requirements won't fail to
       	notice an insufficient Linux version.
      089b2b8a
    • Roland McGrath's avatar
      * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger. · 99c57951
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
      	instead of 2.0 headers.
      99c57951
    • Roland McGrath's avatar
      * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds. · 20121a6a
      Roland McGrath authored
      	* sysdeps/gnu/errlist.awk: Undo mib's bogus changes.  The
      	sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
      20121a6a
    • Roland McGrath's avatar
      Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 3dbe1581
      Roland McGrath authored
      	* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
      	before using it in lhs of weak_alias.
      
      	* nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
      	Call __nss_lookup when not setting STARTP.
      	(SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
      	function-calling loop.
      3dbe1581
    • Roland McGrath's avatar
      · d33f2ad4
      Roland McGrath authored
      error is 0.  The "placeholder" entries recently added to
      	* sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
      d33f2ad4
    • Thomas Bushnell, BSG's avatar
    • Thomas Bushnell, BSG's avatar
      *** empty log message *** · 18c75117
      Thomas Bushnell, BSG authored
      Tue Jul  9 00:14:52 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
      
      	* sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
       	PENDIN, NOFLSH): Undefine these at start if they are already
       	defined to avoid collision with termbits.h.
      	* sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
      	(MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
      
      
      Mon Jul  8 13:10:50 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
      
      	* sysdeps/mach/hurd/errnos.awk: Skip entries where the
       	error is 0.  The "placeholder" entries recently added to 
      	errno.texi convert to zero since `???/' is at the front of them.
      	* sysdeps/gnu/errlist.awk (errnoh): Likewise.
      
      	* sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm 
      	__const to conform with unistd.h.
      
      	* posix/regex.c (re_comp, re_exec): Use weak_function as
      	keyword in function defns instead of weak_symbol (NAME) after
      	the defn.
      
      	* stdlib/stdlib.h (random): Declare return type to be int32_t.
      18c75117
    • Thomas Bushnell, BSG's avatar
  4. Jul 08, 1996
    • Roland McGrath's avatar
      Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 999493cb
      Roland McGrath authored
      	* math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
      	already defined to float, long double.  Use those macros for _Mdouble_
      	defns when including mathcalls.h.
      	* math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
      	-D_Mlong_double_=double.
      
      	Add more -lm functions to -lc because ldexp uses them.
      	* math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
      	(routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
      	ldexp have both f and l code, and those have f though not l code.
      
       	memcpy for possibly overlapping strings.
      999493cb
    • Roland McGrath's avatar
      Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · f5cb4a5c
      Roland McGrath authored
      	* math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
      	already defined to float, long double.  Use those macros for _Mdouble_
      	defns when including mathcalls.h.
      	* math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
      	-D_Mlong_double_=double.
      	Add more -lm functions to -lc because ldexp uses them.
      	* math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
      	(routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
      	ldexp have both f and l code, and those have f though not l code.
      f5cb4a5c
    • Thomas Bushnell, BSG's avatar
      *** empty log message *** · 53163ad0
      Thomas Bushnell, BSG authored
      Mon Jul  8 13:10:50 1996  Michael I. Bushnell p/BSG  <mib@psilocin.gnu.ai.mit.edu>
      
      	* string/argz-delete.c (argz_delete): Use memmove instead of
       	memcpy for possbly overlapping strings.
      53163ad0
    • Thomas Bushnell, BSG's avatar
    • Miles Bader's avatar
      3ee8457d
    • Miles Bader's avatar
      17f92c2d
    • Roland McGrath's avatar
      * stdlib/strtod.c: Likewise. · 7702f9b5
      Roland McGrath authored
      7702f9b5
    • Roland McGrath's avatar
      Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · af5b3bc3
      Roland McGrath authored
      	* 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.
      
      	* 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.
      
      	* 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].
      
      	* 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.
    • Roland McGrath's avatar
      Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 0676b5fd
      Roland McGrath authored
      	* 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.
      0676b5fd
    • Thomas Bushnell, BSG's avatar
      *** empty log message *** · 467ab247
      Thomas Bushnell, BSG authored
      Mon Jul  8 01:37:34 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
      
      	* string/argz-insert.c (__argz_insert): (__argz_insert): Use
      	memmove instead of memcpy for possible overlapping strings.
      
      
      	POINT_COL. Add POINT_OFFS field.
      467ab247
    • Thomas Bushnell, BSG's avatar
  5. Jul 07, 1996
    • Roland McGrath's avatar
      * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS, · 28160ffb
      Roland McGrath authored
      	map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
      	(element printer): Check for elt in ALIAS, instead of special case
      	for EWOULDBLOCK.
      28160ffb
    • Roland McGrath's avatar
      * io/Makefile (headers): Add sys/vfs.h. · faf85e08
      Roland McGrath authored
      	* io/sys/vfs.h: New file.
      faf85e08
    • Roland McGrath's avatar
      * stdio/linewrap.c (lwupdate): New function, mostly was · e851d072
      Roland McGrath authored
      	__line_wrap_update.  Use POINT_COL field instead of POINT.
      	* stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
      	POINT_COL.  Add POINT_OFFS field.
      e851d072
    • Roland McGrath's avatar
      Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · edb8e1d9
      Roland McGrath authored
      	* 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).
      
      	* stdio/linewrap.c (lwupdate): Update D->point_offs when done.
      edb8e1d9
    • Roland McGrath's avatar
      Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · e5adb313
      Roland McGrath authored
      	* 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).
      e5adb313
    • Doug Evans's avatar
      Recognize rtems as an o/s. · 850fe75e
      Doug Evans authored
      850fe75e
    • Miles Bader's avatar
      Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu> · 99ed3e39
      Miles Bader authored
      	* linewrap.c (lwupdate): 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_update): Don't update D->point_offs (lwupdate does it).
      
      Fri May 31 11:48:46 1996  Miles Bader  <miles@gnu.ai.mit.edu>
      
      	* linewrap.c (lwupdate): New function, mostly was __line_wrap_update.
      	Use POINT_COL field instead of POINT.
      	(__line_wrap_output): Use lwupdate.
      	(__line_wrap_update): New function.
      	(ensure_unwrapped, ensure_wrapped): New functions.
      	(line_wrap_set_lmargin, line_wrap_set_rmargin,
      	line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
      
      	* linewrap.h (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.
      99ed3e39
    • Miles Bader's avatar
      (lwupdate): New function, mostly was __line_wrap_update. Use POINT_COL... · dd411cc7
      Miles Bader authored
      (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.
      dd411cc7
  6. Jul 06, 1996
  7. Jul 05, 1996
Loading