mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
1999-01-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers from c and D register output. 1999-01-07 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change. 1999-01-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for __fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>. 1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/conf.texi: Remove pointers from first @node. Move old @node spec inside comment. * manual/lang.texi: Likewise. * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment. * manual/stdio.texi: Fix typo. 1999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN .. UCHAR_MAX]. Local var buf renamed to result and its type changed from char[] to wchar_t to get proper alignment. * posix/fnmatch.c: Also cast the arguments of the other ctype functions to unsigned char. 1999-01-07 Ulrich Drepper <drepper@cygnus.com> * Rules: Add rules for empty.{o,os,op} back.
This commit is contained in:
parent
1686c45233
commit
3499233817
35
ChangeLog
35
ChangeLog
@ -1,3 +1,38 @@
|
||||
1999-01-07 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
|
||||
from c and D register output.
|
||||
|
||||
1999-01-07 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.
|
||||
|
||||
1999-01-07 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
|
||||
__fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>.
|
||||
|
||||
1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||
|
||||
* manual/conf.texi: Remove pointers from first @node. Move old
|
||||
@node spec inside comment.
|
||||
* manual/lang.texi: Likewise.
|
||||
* manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
|
||||
* manual/stdio.texi: Fix typo.
|
||||
|
||||
1999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||
|
||||
* wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
|
||||
.. UCHAR_MAX]. Local var buf renamed to result and its type
|
||||
changed from char[] to wchar_t to get proper alignment.
|
||||
|
||||
* posix/fnmatch.c: Also cast the arguments of the other ctype
|
||||
functions to unsigned char.
|
||||
|
||||
1999-01-07 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* Rules: Add rules for empty.{o,os,op} back.
|
||||
|
||||
1999-01-05 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* Makerules (common-mostlyclean): Add missing parentheses.
|
||||
|
7
Rules
7
Rules
@ -172,6 +172,13 @@ before-compile: $(before-compile)
|
||||
$(common-objpfx)dummy.o: $(common-objpfx)dummy.c $(before-compile);
|
||||
$(compile-command.c)
|
||||
|
||||
define o-iterator-doit
|
||||
$(common-objpfx)empty$o: $(common-objpfx)empty.c $(before-compile);
|
||||
$$(compile-command.c)
|
||||
endef
|
||||
object-suffixes-left := $(object-suffixes)
|
||||
include $(o-iterator)
|
||||
|
||||
# There's no good place to put this - here will do.
|
||||
# The dependencies are wrong if it's run from the top level.
|
||||
ifeq ($(filter %posix, $(sysdirs)),)
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||
|
||||
* linuxthreads.texi: Remove pointers from first @node. Move old
|
||||
@node spec inside comment.
|
||||
|
||||
1998-12-31 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/pthread/bits/stdio-lock.h: Define _IO_lock_lock and
|
||||
|
@ -1,4 +1,5 @@
|
||||
@node POSIX Threads, , Top, Top
|
||||
@node POSIX Threads
|
||||
@c @node POSIX Threads, , Top, Top
|
||||
@chapter POSIX Threads
|
||||
@c %MENU% The standard threads library
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
@c This node must have no next pointer.
|
||||
@node System Configuration, , System Information, Top
|
||||
@c This node must have no pointers.
|
||||
@node System Configuration
|
||||
@c @node System Configuration, , System Information, Top
|
||||
@c %MENU% Parameters describing operating system limits
|
||||
@chapter System Configuration Parameters
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
@c This node must not have a prev pointer.
|
||||
@node Language Features, Library Summary, , Top
|
||||
@c This node must have no pointers.
|
||||
@node Language Features
|
||||
@c @node Language Features, Library Summary, , Top
|
||||
@c %MENU% C language features provided by the library
|
||||
@appendix C Language Facilities in the Library
|
||||
|
||||
|
@ -19,8 +19,8 @@ build_menu () {
|
||||
}
|
||||
|
||||
collect_nodes () {
|
||||
grep '^@node.*Top' "$@" /dev/null | cut -d, -f-2 |
|
||||
sed 's/, /:/; s/:@node /:/; s/ /_/g; s/:/ /g' |
|
||||
egrep '^(@c )?@node.*Top' "$@" /dev/null | cut -d, -f-2 |
|
||||
sed 's/@c //; s/, /:/; s/:@node /:/; s/ /_/g; s/:/ /g' |
|
||||
$AWK '{ file[$2] = $1; nnode[$2] = $3 }
|
||||
END { for (x in file)
|
||||
if (file[x] != "")
|
||||
@ -34,8 +34,8 @@ if [ -n "$2" ]; then
|
||||
|
||||
{ echo; echo 'Add-ons'; echo; } >&4
|
||||
|
||||
grep '^@node.*Top' `echo $2 /dev/null | tr ' ' '\n' | sort` |
|
||||
cut -d, -f1 | sed 's/@node //' | build_menu
|
||||
egrep '^(@c )?@node.*Top' `echo $2 /dev/null | tr ' ' '\n' | sort` |
|
||||
cut -d, -f1 | sed 's/@c //;s/@node //' | build_menu
|
||||
|
||||
fi
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
@node I/O on Streams, Low-Level I/O, I/O Overview, Top
|
||||
@c %MENU% Hign-level, portable I/O facilities
|
||||
@c %MENU% High-level, portable I/O facilities
|
||||
@chapter Input/Output on Streams
|
||||
@c fix an overfull:
|
||||
@tex
|
||||
|
@ -66,6 +66,7 @@ users.texi \
|
||||
db.c.texi \
|
||||
sysinfo.texi \
|
||||
conf.texi \
|
||||
../crypt/crypt.texi \
|
||||
../linuxthreads/linuxthreads.texi \
|
||||
lang.texi \
|
||||
add.c.texi \
|
||||
|
@ -239,7 +239,7 @@ fnmatch (pattern, string, flags)
|
||||
c = *p++;
|
||||
for (;;)
|
||||
{
|
||||
unsigned int fn = FOLD (*n);
|
||||
unsigned char fn = FOLD ((unsigned char) *n);
|
||||
|
||||
if (!(flags & FNM_NOESCAPE) && c == '\\')
|
||||
{
|
||||
@ -283,21 +283,21 @@ fnmatch (pattern, string, flags)
|
||||
/* Invalid character class name. */
|
||||
return FNM_NOMATCH;
|
||||
|
||||
if (__iswctype (__btowc (*n), wt))
|
||||
if (__iswctype (__btowc ((unsigned char) *n), wt))
|
||||
goto matched;
|
||||
# else
|
||||
if ((STREQ (str, "alnum") && ISALNUM (*n))
|
||||
|| (STREQ (str, "alpha") && ISALPHA (*n))
|
||||
|| (STREQ (str, "blank") && ISBLANK (*n))
|
||||
|| (STREQ (str, "cntrl") && ISCNTRL (*n))
|
||||
|| (STREQ (str, "digit") && ISDIGIT (*n))
|
||||
|| (STREQ (str, "graph") && ISGRAPH (*n))
|
||||
|| (STREQ (str, "lower") && ISLOWER (*n))
|
||||
|| (STREQ (str, "print") && ISPRINT (*n))
|
||||
|| (STREQ (str, "punct") && ISPUNCT (*n))
|
||||
|| (STREQ (str, "space") && ISSPACE (*n))
|
||||
|| (STREQ (str, "upper") && ISUPPER (*n))
|
||||
|| (STREQ (str, "xdigit") && ISXDIGIT (*n)))
|
||||
if ((STREQ (str, "alnum") && ISALNUM ((unsigned char) *n))
|
||||
|| (STREQ (str, "alpha") && ISALPHA ((unsigned char) *n))
|
||||
|| (STREQ (str, "blank") && ISBLANK ((unsigned char) *n))
|
||||
|| (STREQ (str, "cntrl") && ISCNTRL ((unsigned char) *n))
|
||||
|| (STREQ (str, "digit") && ISDIGIT ((unsigned char) *n))
|
||||
|| (STREQ (str, "graph") && ISGRAPH ((unsigned char) *n))
|
||||
|| (STREQ (str, "lower") && ISLOWER ((unsigned char) *n))
|
||||
|| (STREQ (str, "print") && ISPRINT ((unsigned char) *n))
|
||||
|| (STREQ (str, "punct") && ISPUNCT ((unsigned char) *n))
|
||||
|| (STREQ (str, "space") && ISSPACE ((unsigned char) *n))
|
||||
|| (STREQ (str, "upper") && ISUPPER ((unsigned char) *n))
|
||||
|| (STREQ (str, "xdigit") && ISXDIGIT ((unsigned char) *n)))
|
||||
goto matched;
|
||||
# endif
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -28,7 +28,7 @@
|
||||
int __d0, __d1; \
|
||||
__asm__ __volatile__ ("cld; rep; stosl" \
|
||||
: "=m" (__FDS_BITS (fdsp)[__FDELT (__FD_SETSIZE)]), \
|
||||
"=&c" (__d0), "=&D" (__d1) \
|
||||
"=c" (__d0), "=D" (__d1) \
|
||||
: "a" (0), "1" (sizeof (__fd_set) \
|
||||
/ sizeof (__fd_mask)), \
|
||||
"2" (&__FDS_BITS (fdsp)[0]) \
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991,92,94,95,96,97,98,99 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -63,7 +63,7 @@ typedef __int32_t __blkcnt_t; /* Type to count nr disk blocks. */
|
||||
typedef __int64_t __blkcnt64_t; /* "" (LFS) */
|
||||
typedef __uint32_t __fsblkcnt_t; /* Type to count file system blocks. */
|
||||
typedef __uint64_t __fsblkcnt64_t; /* "" (LFS) */
|
||||
typedef __uint64_t __fsfilcnt_t; /* Type to count file system inodes. */
|
||||
typedef __uint32_t __fsfilcnt_t; /* Type to count file system inodes. */
|
||||
typedef __uint64_t __fsfilcnt64_t; /* "" (LFS) */
|
||||
typedef __uint32_t __id_t; /* General type for IDs. */
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define SIGCONTEXT int signal, int _a2, int _a3, int _a4, union k_sigcontext
|
||||
#define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext
|
||||
|
||||
#define GET_PC(ctx) ((void *)((ctx.v20.magic == SIGCONTEXT_2_0_MAGIC) ? \
|
||||
ctx.v20.reg.ARM_pc : ctx.v21.arm_pc))
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>
|
||||
Contributed by Ulrich Drepper <drepper@gnu.org>, 1996.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public License as
|
||||
@ -22,13 +22,14 @@
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#include <wcsmbsload.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
wint_t
|
||||
__btowc (c)
|
||||
int c;
|
||||
{
|
||||
char buf[sizeof (wchar_t)];
|
||||
wchar_t result;
|
||||
struct gconv_step_data data;
|
||||
char inbuf[1];
|
||||
const char *inptr = inbuf;
|
||||
@ -37,11 +38,11 @@ __btowc (c)
|
||||
|
||||
/* If the parameter does not fit into one byte or it is the EOF value
|
||||
we can give the answer now. */
|
||||
if (c < -128 || c > 127 || c == EOF)
|
||||
if (c < SCHAR_MIN || c > UCHAR_MAX || c == EOF)
|
||||
return WEOF;
|
||||
|
||||
/* Tell where we want the result. */
|
||||
data.outbuf = (char *) buf;
|
||||
data.outbuf = (char *) &result;
|
||||
data.outbufend = data.outbuf + sizeof (wchar_t);
|
||||
data.invocation_counter = 0;
|
||||
data.internal_use = 1;
|
||||
@ -62,8 +63,8 @@ __btowc (c)
|
||||
/* The conversion failed. */
|
||||
if (status != GCONV_OK && status != GCONV_FULL_OUTPUT
|
||||
&& status != GCONV_EMPTY_INPUT)
|
||||
return WEOF;
|
||||
result = WEOF;
|
||||
|
||||
return *(wchar_t *)buf;
|
||||
return result;
|
||||
}
|
||||
weak_alias (__btowc, btowc)
|
||||
|
Loading…
Reference in New Issue
Block a user