aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Examples
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-31 04:38:55 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-31 04:38:55 +0000
commit02fb3d179ddd3c88f4d4f31d4b27948b48bced2b (patch)
tree21c13678f5ef2e6daf5972fa6defef68abd382d3 /linuxthreads/Examples
parentcdfb970dd9c20861d7fdac16435d70792b8a027a (diff)
downloadglibc-02fb3d179ddd3c88f4d4f31d4b27948b48bced2b.tar
glibc-02fb3d179ddd3c88f4d4f31d4b27948b48bced2b.tar.gz
glibc-02fb3d179ddd3c88f4d4f31d4b27948b48bced2b.tar.bz2
glibc-02fb3d179ddd3c88f4d4f31d4b27948b48bced2b.zip
Update.
* posix/runtests.c (main): Don't use exit() to avoid warning with broken compilers. * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before defining it again to avoid warning. * string/bug-strpbrk1.c: Likewise. * string/bug-strspn1.c: Likewise. 2000-10-29 Bruno Haible <haible@clisp.cons.org> * locale/C-translit.h.in: Include more rules from translit_neutral. Remove a few German and Danish specific rules. * locale/gen-translit.pl: Avoid an error when printing a string containing a '%' character. * locale/C-translit.h: Regenerated. * intl/translit.po: Choose different translations. * intl/tst-translit.c: Update. 2000-10-29 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (translit_include_t): New type. (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire fields, add translit_include field. (ctype_read): After seeing "translit_start" in ignore_content mode, skip the entire translit section, not only one line. Remove dead test for tok_translit_end. Enqueue include statements into a list. Signal error if tok_eof seen before tok_translit_end. (translit_flatten): New function. (allocate_arrays): Call translit_flatten. 2000-10-30 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'linuxthreads/Examples')
-rw-r--r--linuxthreads/Examples/ex4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/Examples/ex4.c b/linuxthreads/Examples/ex4.c
index 11a09f013e..86584de70d 100644
--- a/linuxthreads/Examples/ex4.c
+++ b/linuxthreads/Examples/ex4.c
@@ -103,5 +103,5 @@ int main(int argc, char ** argv)
printf("Thread %lx: \"%s\"\n", pthread_self(), res);
pthread_join(th1, NULL);
pthread_join(th2, NULL);
- exit(0);
+ return 0;
}