Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
2002-12-19  Jakub Jelinek  <jakub@redhat.com>

	* nscd/connections.c (nscd_run): Shut up warning.
	* tst-ungetc.c (assert): Undefined before redefining.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

	* posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
	is used.

2002-12-17  Art Haas  <ahaas@airmail.net>

	* iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
	* iconvdata/cp775.h: Likewise.
	* iconvdata/ibm1046.h: Likewise.
	* iconvdata/ibm1124.h: Likewise.
	* iconvdata/ibm1129.h: Likewise.
	* iconvdata/ibm1132.h: Likewise.
	* iconvdata/ibm1133.h: Likewise.
	* iconvdata/ibm1160.h: Likewise.
	* iconvdata/ibm1161.h: Likewise.
	* iconvdata/ibm1162.h: Likewise.
	* iconvdata/ibm1163.h: Likewise.
	* iconvdata/ibm1164.h: Likewise.

	(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
  • Loading branch information
Ulrich Drepper committed Dec 19, 2002
1 parent 7d092b6 commit 74e8f2d
Show file tree
Hide file tree
Showing 21 changed files with 181 additions and 148 deletions.
28 changes: 26 additions & 2 deletions ChangeLog
@@ -1,10 +1,34 @@
2002-12-19 Jakub Jelinek <jakub@redhat.com>

* nscd/connections.c (nscd_run): Shut up warning.
* tst-ungetc.c (assert): Undefined before redefining.

2002-12-19 Ulrich Drepper <drepper@redhat.com>

* posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
is used.

2002-12-17 Art Haas <ahaas@airmail.net>

* iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
* iconvdata/cp775.h: Likewise.
* iconvdata/ibm1046.h: Likewise.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1129.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm1163.h: Likewise.
* iconvdata/ibm1164.h: Likewise.

2002-12-19 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
__ASSUME_CLONE_THREAD_FLAGS is defined.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >=
2.5.50.
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.

2002-12-18 Ulrich Drepper <drepper@redhat.com>

Expand Down
40 changes: 20 additions & 20 deletions iconvdata/cp737.h
@@ -1,5 +1,5 @@
/* Mapping table for CP737.
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
Expand Down Expand Up @@ -295,25 +295,25 @@ static const uint32_t to_ucs4[256] =
*/
static struct gap from_idx[] =
{
{ start: 0x0000, end: 0x007f, idx: 0 },
{ start: 0x00a0, end: 0x00a0, idx: -32 },
{ start: 0x00b0, end: 0x00b7, idx: -47 },
{ start: 0x00f7, end: 0x00f7, idx: -110 },
{ start: 0x0386, end: 0x03ce, idx: -764 },
{ start: 0x207f, end: 0x207f, idx: -8108 },
{ start: 0x2219, end: 0x221a, idx: -8517 },
{ start: 0x2248, end: 0x2248, idx: -8562 },
{ start: 0x2264, end: 0x2265, idx: -8589 },
{ start: 0x2500, end: 0x2502, idx: -9255 },
{ start: 0x250c, end: 0x251c, idx: -9264 },
{ start: 0x2524, end: 0x2524, idx: -9271 },
{ start: 0x252c, end: 0x252c, idx: -9278 },
{ start: 0x2534, end: 0x2534, idx: -9285 },
{ start: 0x253c, end: 0x253c, idx: -9292 },
{ start: 0x2550, end: 0x256c, idx: -9311 },
{ start: 0x2580, end: 0x2593, idx: -9330 },
{ start: 0x25a0, end: 0x25a0, idx: -9342 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x00a0, .end = 0x00a0, .idx = -32 },
{ .start = 0x00b0, .end = 0x00b7, .idx = -47 },
{ .start = 0x00f7, .end = 0x00f7, .idx = -110 },
{ .start = 0x0386, .end = 0x03ce, .idx = -764 },
{ .start = 0x207f, .end = 0x207f, .idx = -8108 },
{ .start = 0x2219, .end = 0x221a, .idx = -8517 },
{ .start = 0x2248, .end = 0x2248, .idx = -8562 },
{ .start = 0x2264, .end = 0x2265, .idx = -8589 },
{ .start = 0x2500, .end = 0x2502, .idx = -9255 },
{ .start = 0x250c, .end = 0x251c, .idx = -9264 },
{ .start = 0x2524, .end = 0x2524, .idx = -9271 },
{ .start = 0x252c, .end = 0x252c, .idx = -9278 },
{ .start = 0x2534, .end = 0x2534, .idx = -9285 },
{ .start = 0x253c, .end = 0x253c, .idx = -9292 },
{ .start = 0x2550, .end = 0x256c, .idx = -9311 },
{ .start = 0x2580, .end = 0x2593, .idx = -9330 },
{ .start = 0x25a0, .end = 0x25a0, .idx = -9342 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

/* Table accessed through above index table. It can be generated using:
Expand Down
46 changes: 23 additions & 23 deletions iconvdata/cp775.h
@@ -1,5 +1,5 @@
/* Mapping table for CP775.
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
Expand Down Expand Up @@ -295,28 +295,28 @@ static const uint32_t to_ucs4[256] =
*/
static struct gap from_idx[] =
{
{ start: 0x0000, end: 0x007f, idx: 0 },
{ start: 0x00a0, end: 0x00c9, idx: -32 },
{ start: 0x00d3, end: 0x00e9, idx: -41 },
{ start: 0x00f3, end: 0x0119, idx: -50 },
{ start: 0x0122, end: 0x0123, idx: -58 },
{ start: 0x012a, end: 0x012f, idx: -64 },
{ start: 0x0136, end: 0x014d, idx: -70 },
{ start: 0x0156, end: 0x0161, idx: -78 },
{ start: 0x016a, end: 0x016b, idx: -86 },
{ start: 0x0172, end: 0x017e, idx: -92 },
{ start: 0x2019, end: 0x201e, idx: -7926 },
{ start: 0x2219, end: 0x2219, idx: -8432 },
{ start: 0x2500, end: 0x2502, idx: -9174 },
{ start: 0x250c, end: 0x251c, idx: -9183 },
{ start: 0x2524, end: 0x2524, idx: -9190 },
{ start: 0x252c, end: 0x252c, idx: -9197 },
{ start: 0x2534, end: 0x2534, idx: -9204 },
{ start: 0x253c, end: 0x253c, idx: -9211 },
{ start: 0x2550, end: 0x256c, idx: -9230 },
{ start: 0x2580, end: 0x2593, idx: -9249 },
{ start: 0x25a0, end: 0x25a0, idx: -9261 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x00a0, .end = 0x00c9, .idx = -32 },
{ .start = 0x00d3, .end = 0x00e9, .idx = -41 },
{ .start = 0x00f3, .end = 0x0119, .idx = -50 },
{ .start = 0x0122, .end = 0x0123, .idx = -58 },
{ .start = 0x012a, .end = 0x012f, .idx = -64 },
{ .start = 0x0136, .end = 0x014d, .idx = -70 },
{ .start = 0x0156, .end = 0x0161, .idx = -78 },
{ .start = 0x016a, .end = 0x016b, .idx = -86 },
{ .start = 0x0172, .end = 0x017e, .idx = -92 },
{ .start = 0x2019, .end = 0x201e, .idx = -7926 },
{ .start = 0x2219, .end = 0x2219, .idx = -8432 },
{ .start = 0x2500, .end = 0x2502, .idx = -9174 },
{ .start = 0x250c, .end = 0x251c, .idx = -9183 },
{ .start = 0x2524, .end = 0x2524, .idx = -9190 },
{ .start = 0x252c, .end = 0x252c, .idx = -9197 },
{ .start = 0x2534, .end = 0x2534, .idx = -9204 },
{ .start = 0x253c, .end = 0x253c, .idx = -9211 },
{ .start = 0x2550, .end = 0x256c, .idx = -9230 },
{ .start = 0x2580, .end = 0x2593, .idx = -9249 },
{ .start = 0x25a0, .end = 0x25a0, .idx = -9261 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

/* Table accessed through above index table. It can be generated using:
Expand Down
52 changes: 26 additions & 26 deletions iconvdata/ibm1046.h
@@ -1,5 +1,5 @@
/* Tables for conversion from and to IBM1046.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>, 2000.
Expand Down Expand Up @@ -88,31 +88,31 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x007f, idx: 0 },
{ start: 0x0088, end: 0x0088, idx: -8 },
{ start: 0x00a0, end: 0x00a0, idx: -31 },
{ start: 0x00a4, end: 0x00a4, idx: -34 },
{ start: 0x00ad, end: 0x00ad, idx: -42 },
{ start: 0x00d7, end: 0x00d7, idx: -83 },
{ start: 0x00f7, end: 0x00f7, idx: -114 },
{ start: 0x060c, end: 0x060c, idx: -1414 },
{ start: 0x061b, end: 0x061b, idx: -1428 },
{ start: 0x061f, end: 0x061f, idx: -1431 },
{ start: 0x0621, end: 0x063a, idx: -1432 },
{ start: 0x0640, end: 0x0652, idx: -1437 },
{ start: 0x0660, end: 0x066d, idx: -1450 },
{ start: 0x200b, end: 0x200b, idx: -8007 },
{ start: 0x2500, end: 0x2500, idx: -9275 },
{ start: 0x2502, end: 0x2502, idx: -9276 },
{ start: 0x250c, end: 0x250c, idx: -9285 },
{ start: 0x2510, end: 0x2510, idx: -9288 },
{ start: 0x2514, end: 0x2514, idx: -9291 },
{ start: 0x2518, end: 0x2518, idx: -9294 },
{ start: 0x25a0, end: 0x25a0, idx: -9429 },
{ start: 0xfe70, end: 0xfe72, idx: -64932 },
{ start: 0xfe74, end: 0xfe74, idx: -64933 },
{ start: 0xfe76, end: 0xfefc, idx: -64934 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x0088, .end = 0x0088, .idx = -8 },
{ .start = 0x00a0, .end = 0x00a0, .idx = -31 },
{ .start = 0x00a4, .end = 0x00a4, .idx = -34 },
{ .start = 0x00ad, .end = 0x00ad, .idx = -42 },
{ .start = 0x00d7, .end = 0x00d7, .idx = -83 },
{ .start = 0x00f7, .end = 0x00f7, .idx = -114 },
{ .start = 0x060c, .end = 0x060c, .idx = -1414 },
{ .start = 0x061b, .end = 0x061b, .idx = -1428 },
{ .start = 0x061f, .end = 0x061f, .idx = -1431 },
{ .start = 0x0621, .end = 0x063a, .idx = -1432 },
{ .start = 0x0640, .end = 0x0652, .idx = -1437 },
{ .start = 0x0660, .end = 0x066d, .idx = -1450 },
{ .start = 0x200b, .end = 0x200b, .idx = -8007 },
{ .start = 0x2500, .end = 0x2500, .idx = -9275 },
{ .start = 0x2502, .end = 0x2502, .idx = -9276 },
{ .start = 0x250c, .end = 0x250c, .idx = -9285 },
{ .start = 0x2510, .end = 0x2510, .idx = -9288 },
{ .start = 0x2514, .end = 0x2514, .idx = -9291 },
{ .start = 0x2518, .end = 0x2518, .idx = -9294 },
{ .start = 0x25a0, .end = 0x25a0, .idx = -9429 },
{ .start = 0xfe70, .end = 0xfe72, .idx = -64932 },
{ .start = 0xfe74, .end = 0xfe74, .idx = -64933 },
{ .start = 0xfe76, .end = 0xfefc, .idx = -64934 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
14 changes: 7 additions & 7 deletions iconvdata/ibm1124.h
@@ -1,5 +1,5 @@
/* Conversion from and to IBM1124.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2000.
Expand Down Expand Up @@ -88,12 +88,12 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x00a0, idx: 0 },
{ start: 0x00a7, end: 0x00ad, idx: -6 },
{ start: 0x0401, end: 0x045f, idx: -857 },
{ start: 0x0490, end: 0x0491, idx: -905 },
{ start: 0x2116, end: 0x2116, idx: -8205 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x00a0, .idx = 0 },
{ .start = 0x00a7, .end = 0x00ad, .idx = -6 },
{ .start = 0x0401, .end = 0x045f, .idx = -857 },
{ .start = 0x0490, .end = 0x0491, .idx = -905 },
{ .start = 0x2116, .end = 0x2116, .idx = -8205 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
22 changes: 11 additions & 11 deletions iconvdata/ibm1129.h
@@ -1,5 +1,5 @@
/* Conversion from and to IBM1129.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2000.
Expand Down Expand Up @@ -88,16 +88,16 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x0103, idx: 0 },
{ start: 0x0110, end: 0x0111, idx: -12 },
{ start: 0x0152, end: 0x0153, idx: -76 },
{ start: 0x0178, end: 0x0178, idx: -112 },
{ start: 0x01a0, end: 0x01a1, idx: -151 },
{ start: 0x01af, end: 0x01b0, idx: -164 },
{ start: 0x0300, end: 0x0309, idx: -499 },
{ start: 0x0323, end: 0x0323, idx: -524 },
{ start: 0x20ab, end: 0x20ab, idx: -8083 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x0103, .idx = 0 },
{ .start = 0x0110, .end = 0x0111, .idx = -12 },
{ .start = 0x0152, .end = 0x0153, .idx = -76 },
{ .start = 0x0178, .end = 0x0178, .idx = -112 },
{ .start = 0x01a0, .end = 0x01a1, .idx = -151 },
{ .start = 0x01af, .end = 0x01b0, .idx = -164 },
{ .start = 0x0300, .end = 0x0309, .idx = -499 },
{ .start = 0x0323, .end = 0x0323, .idx = -524 },
{ .start = 0x20ab, .end = 0x20ab, .idx = -8083 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
10 changes: 5 additions & 5 deletions iconvdata/ibm1132.h
@@ -1,5 +1,5 @@
/* Mapping table for IBM1132.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
Expand Down Expand Up @@ -82,10 +82,10 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e81, end: 0x0e8d, idx: -3540 },
{ start: 0x0e94, end: 0x0edd, idx: -3546 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x00ac, .idx = 0 },
{ .start = 0x0e81, .end = 0x0e8d, .idx = -3540 },
{ .start = 0x0e94, .end = 0x0edd, .idx = -3546 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
10 changes: 5 additions & 5 deletions iconvdata/ibm1133.h
@@ -1,5 +1,5 @@
/* Mapping table for IBM1133.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
Expand Down Expand Up @@ -82,10 +82,10 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e81, end: 0x0e8d, idx: -3540 },
{ start: 0x0e94, end: 0x0edd, idx: -3546 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x00ac, .idx = 0 },
{ .start = 0x0e81, .end = 0x0e8d, .idx = -3540 },
{ .start = 0x0e94, .end = 0x0edd, .idx = -3546 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
10 changes: 5 additions & 5 deletions iconvdata/ibm1160.h
@@ -1,5 +1,5 @@
/* Mapping table for IBM1160.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
Expand Down Expand Up @@ -88,10 +88,10 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e01, end: 0x0e5b, idx: -3412 },
{ start: 0x20ac, end: 0x20ac, idx: -8100 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x00ac, .idx = 0 },
{ .start = 0x0e01, .end = 0x0e5b, .idx = -3412 },
{ .start = 0x20ac, .end = 0x20ac, .idx = -8100 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
12 changes: 6 additions & 6 deletions iconvdata/ibm1161.h
@@ -1,5 +1,5 @@
/* Mapping table for IBM1161.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
Expand Down Expand Up @@ -80,11 +80,11 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x007f, idx: 0 },
{ start: 0x00a0, end: 0x00ac, idx: -32 },
{ start: 0x0e01, end: 0x0e5b, idx: -3444 },
{ start: 0x20ac, end: 0x20ac, idx: -8132 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x00a0, .end = 0x00ac, .idx = -32 },
{ .start = 0x0e01, .end = 0x0e5b, .idx = -3444 },
{ .start = 0x20ac, .end = 0x20ac, .idx = -8132 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down
14 changes: 7 additions & 7 deletions iconvdata/ibm1162.h
@@ -1,5 +1,5 @@
/* Mapping table for IBM1162.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
Expand Down Expand Up @@ -86,12 +86,12 @@ static const uint32_t to_ucs4[256] =

static const struct gap from_idx[] =
{
{ start: 0x0000, end: 0x0090, idx: 0 },
{ start: 0x0098, end: 0x00a0, idx: -7 },
{ start: 0x0e01, end: 0x0e5b, idx: -3431 },
{ start: 0x2013, end: 0x2026, idx: -7966 },
{ start: 0x20ac, end: 0x20ac, idx: -8099 },
{ start: 0xffff, end: 0xffff, idx: 0 }
{ .start = 0x0000, .end = 0x0090, .idx = 0 },
{ .start = 0x0098, .end = 0x00a0, .idx = -7 },
{ .start = 0x0e01, .end = 0x0e5b, .idx = -3431 },
{ .start = 0x2013, .end = 0x2026, .idx = -7966 },
{ .start = 0x20ac, .end = 0x20ac, .idx = -8099 },
{ .start = 0xffff, .end = 0xffff, .idx = 0 }
};

static const char from_ucs4[] =
Expand Down

0 comments on commit 74e8f2d

Please sign in to comment.