aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-26 14:02:38 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-26 14:02:38 +0000
commitf76d7052fa11a71939f658af7ac69bb8d0c732df (patch)
treeff94d6d154e85a80f79a825779de8f8e22e4c2fc
parentcb78ea2300cb5a3c6ad7eacef3ec3d007f3b70b7 (diff)
downloadglibc-f76d7052fa11a71939f658af7ac69bb8d0c732df.zip
glibc-f76d7052fa11a71939f658af7ac69bb8d0c732df.tar.gz
glibc-f76d7052fa11a71939f658af7ac69bb8d0c732df.tar.bz2
Update.
1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/install.texi (Configuring and compiling): Explain that files are changed in the source directory. Closes PR libc/981. (Configuring and compiling): Explain situation with PARALLELMFLAGS in the source directory. 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/programs/ld-ctype.c: Spelling fixes. (ctype_finish): Fix argument of error message format. * locale/programs/ld-messages.c: Spelling fixes. * locale/programs/ld-monetary.c: Spelling fixes. * locale/programs/ld-time.c (time_finish): Make sure that name and format of era_entries are adjacent. (time_output): Reduce the size of the io vector. 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/filesys.texi (Attribute Meanings): Move a misplaced paragraph. 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/programs/ld-collate.c (collate_output): Convert undefined_offset to an array index. Fix computation of other endian extra table.
-rw-r--r--ChangeLog29
-rw-r--r--locale/programs/ld-ctype.c10
-rw-r--r--locale/programs/ld-messages.c4
-rw-r--r--locale/programs/ld-monetary.c6
-rw-r--r--locale/programs/ld-time.c48
-rw-r--r--manual/install.texi10
6 files changed, 63 insertions, 44 deletions
diff --git a/ChangeLog b/ChangeLog
index cbf84ff..95f538e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * manual/install.texi (Configuring and compiling): Explain that
+ files are changed in the source directory.
+ Closes PR libc/981.
+ (Configuring and compiling): Explain situation with PARALLELMFLAGS
+ in the source directory.
+
+1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * locale/programs/ld-ctype.c: Spelling fixes.
+ (ctype_finish): Fix argument of error message format.
+ * locale/programs/ld-messages.c: Spelling fixes.
+ * locale/programs/ld-monetary.c: Spelling fixes.
+ * locale/programs/ld-time.c (time_finish): Make sure that name and
+ format of era_entries are adjacent.
+ (time_output): Reduce the size of the io vector.
+
+1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * manual/filesys.texi (Attribute Meanings): Move a misplaced
+ paragraph.
+
+1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * locale/programs/ld-collate.c (collate_output): Convert
+ undefined_offset to an array index. Fix computation of other
+ endian extra table.
+
1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 3c0c8e8..6ce48b7 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 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>, 1995.
@@ -268,7 +268,7 @@ ctype_finish (struct localedef_t *locale, struct charset_t *charset)
if (!be_quiet)
error (0, 0, _("\
character %s'%s' in class `%s' must be in class `%s'"), value > 256 ? "L" : "",
- cp, valid_table[cls1].name,
+ buf, valid_table[cls1].name,
valid_table[cls2].name);
}
break;
@@ -293,7 +293,7 @@ character %s'%s' in class `%s' must be in class `%s'"), value > 256 ? "L" : "",
if (!be_quiet)
error (0, 0, _("\
character %s'%s' in class `%s' must not be in class `%s'"),
- value > 256 ? "L" : "", cp,
+ value > 256 ? "L" : "", buf,
valid_table[cls1].name,
valid_table[cls2].name);
}
@@ -882,7 +882,7 @@ implementation limit: no more than %d character maps allowed"),
/* We have to be prepared that TABLE, MAX, and ACT can be NULL. This
- is possible if we only want ot extend the name array. */
+ is possible if we only want to extend the name array. */
static u_int32_t *
find_idx (struct locale_ctype_t *ctype, u_int32_t **table, size_t *max,
size_t *act, unsigned int idx)
@@ -896,7 +896,7 @@ find_idx (struct locale_ctype_t *ctype, u_int32_t **table, size_t *max,
if (ctype->charnames[cnt] == idx)
break;
- /* We have to distinguish two cases: the names is found or not. */
+ /* We have to distinguish two cases: the name is found or not. */
if (cnt == ctype->charnames_act)
{
/* Extend the name array. */
diff --git a/locale/programs/ld-messages.c b/locale/programs/ld-messages.c
index e52f541..288979f 100644
--- a/locale/programs/ld-messages.c
+++ b/locale/programs/ld-messages.c
@@ -91,7 +91,7 @@ messages_finish (struct localedef_t *locale)
int result;
regex_t re;
- /* Test whether it are correct regular expressions. */
+ /* Test whether it is a correct regular expression. */
result = regcomp (&re, messages->yesexpr, REG_EXTENDED);
if (result != 0 && !be_quiet)
{
@@ -115,7 +115,7 @@ no correct regular expression for field `%s' in category `%s': %s"),
int result;
regex_t re;
- /* Test whether it are correct regular expressions. */
+ /* Test whether it is a correct regular expression. */
result = regcomp (&re, messages->noexpr, REG_EXTENDED);
if (result != 0 && !be_quiet)
{
diff --git a/locale/programs/ld-monetary.c b/locale/programs/ld-monetary.c
index 6c7c3c3..a74486a 100644
--- a/locale/programs/ld-monetary.c
+++ b/locale/programs/ld-monetary.c
@@ -62,7 +62,7 @@ struct locale_monetary_t
};
-/* The content iof the field int_curr_symbol has to be taken from
+/* The contents of the field int_curr_symbol have to be taken from
ISO-4217. We test for correct values. */
#define DEFINE_INT_CURR(str) str,
static const char *const valid_int_curr[] =
@@ -174,8 +174,8 @@ value for field `%s' in category `%s' must be in range %d...%d"), \
#cat, "LC_MONETARY", min, max)
#if 0
- /* The following two test are not really necessary because all values
- the variable could have are valid. */
+ /* The following two tests are not really necessary because all values
+ the variable could have are valid. */
TEST_ELEM (int_frac_digits, -128, 127); /* No range check. */
TEST_ELEM (frac_digits, -128, 127); /* No range check. */
#endif
diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
index 399f7a7..bee0b0e 100644
--- a/locale/programs/ld-time.c
+++ b/locale/programs/ld-time.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 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>, 1995.
@@ -357,8 +357,11 @@ time_finish (struct localedef_t *locale)
if (!be_quiet)
error (0, 0, _("missing era name in string %d in `era' field"
" in category `%s'"), idx + 1, "LC_TIME");
- time->era_entries[idx].name =
- time->era_entries[idx].format = "";
+ /* Make sure that name and format are adjacent strings
+ in memory. */
+ time->era_entries[idx].name = "\0";
+ time->era_entries[idx].format
+ = time->era_entries[idx].name + 1;
}
else
{
@@ -370,8 +373,11 @@ time_finish (struct localedef_t *locale)
error (0, 0, _("missing era format in string %d in `era'"
" field in category `%s'"),
idx + 1, "LC_TIME");
- time->era_entries[idx].name =
- time->era_entries[idx].format = "";
+ /* Make sure that name and format are adjacent strings
+ in memory. */
+ time->era_entries[idx].name = "\0";
+ time->era_entries[idx].format
+ = time->era_entries[idx].name + 1;
}
else
time->era_entries[idx].format = str;
@@ -589,22 +595,10 @@ time_output (struct localedef_t *locale, const char *output_path)
iov[2 + cnt].iov_len = sizeof (int32_t);
++cnt;
iov[2 + cnt].iov_base = (void *) &ERA_B1[num].start_date[0];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B1[num].start_date[1];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B1[num].start_date[2];
- iov[2 + cnt].iov_len = sizeof (int32_t);
+ iov[2 + cnt].iov_len = 3 * sizeof (int32_t);
++cnt;
iov[2 + cnt].iov_base = (void *) &ERA_B1[num].stop_date[0];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B1[num].stop_date[1];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B1[num].stop_date[2];
- iov[2 + cnt].iov_len = sizeof (int32_t);
+ iov[2 + cnt].iov_len = 3 * sizeof (int32_t);
++cnt;
l = (strchr (ERA_B1[num].format, '\0') - ERA_B1[num].name) + 1;
@@ -631,22 +625,10 @@ time_output (struct localedef_t *locale, const char *output_path)
iov[2 + cnt].iov_len = sizeof (int32_t);
++cnt;
iov[2 + cnt].iov_base = (void *) &ERA_B2[num].start_date[0];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B2[num].start_date[1];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B2[num].start_date[2];
- iov[2 + cnt].iov_len = sizeof (int32_t);
+ iov[2 + cnt].iov_len = 3 * sizeof (int32_t);
++cnt;
iov[2 + cnt].iov_base = (void *) &ERA_B2[num].stop_date[0];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B2[num].stop_date[1];
- iov[2 + cnt].iov_len = sizeof (int32_t);
- ++cnt;
- iov[2 + cnt].iov_base = (void *) &ERA_B2[num].stop_date[2];
- iov[2 + cnt].iov_len = sizeof (int32_t);
+ iov[2 + cnt].iov_len = 3 * sizeof (int32_t);
++cnt;
l = (strchr (ERA_B2[num].format, '\0') - ERA_B2[num].name) + 1;
diff --git a/manual/install.texi b/manual/install.texi
index c62c348..ec00c01 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -60,6 +60,10 @@ at the top level of the source tree. In the scenario above, you'd type
$ ../glibc-2.1.0/configure @var{args...}
@end smallexample
+Please note that even if you're building in a separate build directory,
+the compiliation needs to modify a few files in the source
+directory, especially some files in the manual subdirectory.
+
@noindent
@code{configure} takes many options, but you can get away with knowing
only two: @samp{--prefix} and @samp{--enable-add-ons}. The
@@ -193,7 +197,11 @@ Instead, edit the generated @file{Makefile} and uncomment the line
@noindent
You can change the @samp{4} to some other number as appropriate for
-your system.
+your system. Instead of changing the @file{Makefile}, you could give
+this option directly to @code{make} and call it as, e.g.
+@code{make PARALLELMFLAGS=-j4}. If you're building in the source
+directory, you've got to use the latter approach since in this case no
+new @file{Makefile} is generated which you can change.
To build and run some test programs which exercise some of the library
facilities, type @code{make check}. This should complete successfully;