mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
Update.
2001-01-30 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is seen, not flags. * nis/nis_findserv.c: Include <time.h>.
This commit is contained in:
parent
c7fb46a94e
commit
306eeae553
@ -1,7 +1,12 @@
|
|||||||
|
2001-01-30 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
|
||||||
|
seen, not flags.
|
||||||
|
|
||||||
|
* nis/nis_findserv.c: Include <time.h>.
|
||||||
|
|
||||||
2001-01-30 Yong Li <yong.li@asu.edu>
|
2001-01-30 Yong Li <yong.li@asu.edu>
|
||||||
|
|
||||||
* iconv/gconv_open.c (__gconv_open): Fix the variable used to
|
|
||||||
set result->__data[cnt].__flags.
|
|
||||||
* iconv/iconv_prog.c (main): Correct error handling method name.
|
* iconv/iconv_prog.c (main): Correct error handling method name.
|
||||||
|
|
||||||
2001-01-29 Ben Collins <bcollins@debian.org>
|
2001-01-29 Ben Collins <bcollins@debian.org>
|
||||||
|
12
NEWS
12
NEWS
@ -1,4 +1,4 @@
|
|||||||
GNU C Library NEWS -- history of user-visible changes. 2001-1-12
|
GNU C Library NEWS -- history of user-visible changes. 2001-1-30
|
||||||
|
|
||||||
Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
See the end for copying conditions.
|
See the end for copying conditions.
|
||||||
@ -7,6 +7,16 @@ Please send GNU C library bug reports using the `glibcbug' script to
|
|||||||
<bugs@gnu.org>. Questions and suggestions should be send to
|
<bugs@gnu.org>. Questions and suggestions should be send to
|
||||||
<bug-glibc@gnu.org>.
|
<bug-glibc@gnu.org>.
|
||||||
|
|
||||||
|
Version 2.2.2
|
||||||
|
|
||||||
|
* lots of headers were cleaned up. Using the tool in the conform/ subdir
|
||||||
|
we can now check for namespace violations and missing declarations. The
|
||||||
|
result is that almost all headers are now Unix-compliant (as defined in
|
||||||
|
the upcoming XPG6). The negative side is that some programs might need
|
||||||
|
corrections, too, if they depend on the incorrect form of the headers in
|
||||||
|
previous versions which defined too many symbols and included too many
|
||||||
|
other headers.
|
||||||
|
|
||||||
Version 2.2.1
|
Version 2.2.1
|
||||||
|
|
||||||
* The gencat program now parses the input file according to the charset
|
* The gencat program now parses the input file according to the charset
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Find matching transformation algorithms and initialize steps.
|
/* Find matching transformation algorithms and initialize steps.
|
||||||
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
|
|
||||||
@ -35,6 +35,7 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
|
|||||||
__gconv_t result = NULL;
|
__gconv_t result = NULL;
|
||||||
size_t cnt = 0;
|
size_t cnt = 0;
|
||||||
int res;
|
int res;
|
||||||
|
int conv_flags = 0;
|
||||||
const char *errhand;
|
const char *errhand;
|
||||||
const char *ignore;
|
const char *ignore;
|
||||||
struct trans_struct *trans = NULL;
|
struct trans_struct *trans = NULL;
|
||||||
@ -98,7 +99,7 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
|
|||||||
}
|
}
|
||||||
else if (__strcasecmp (tok, "IGNORE") == 0)
|
else if (__strcasecmp (tok, "IGNORE") == 0)
|
||||||
/* Set the flag to ignore all errors. */
|
/* Set the flag to ignore all errors. */
|
||||||
flags = __GCONV_IGNORE_ERRORS;
|
conv_flags |= __GCONV_IGNORE_ERRORS;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* `tok' is possibly a module name. We'll see later
|
/* `tok' is possibly a module name. We'll see later
|
||||||
@ -246,7 +247,7 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
|
|||||||
output buffer. */
|
output buffer. */
|
||||||
if (cnt < nsteps - 1)
|
if (cnt < nsteps - 1)
|
||||||
{
|
{
|
||||||
result->__data[cnt].__flags = flags;
|
result->__data[cnt].__flags = conv_flags;
|
||||||
|
|
||||||
/* Allocate the buffer. */
|
/* Allocate the buffer. */
|
||||||
size = (GCONV_NCHAR_GOAL * steps[cnt].__max_needed_to);
|
size = (GCONV_NCHAR_GOAL * steps[cnt].__max_needed_to);
|
||||||
@ -264,7 +265,7 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Handle the last entry. */
|
/* Handle the last entry. */
|
||||||
result->__data[cnt].__flags = flags | __GCONV_IS_LAST;
|
result->__data[cnt].__flags = conv_flags | __GCONV_IS_LAST;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
|
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
|
||||||
|
|
||||||
@ -18,6 +18,7 @@
|
|||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user