* debug/chk_fail.c: Include errno.h and string.h.
commit8899fb784ab641a6c2aa755a3141718cd0e6f4af
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Nov 2004 16:57:17 +0000 (12 16:57 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 12 Nov 2004 16:57:17 +0000 (12 16:57 +0000)
tree6a97556066459bcfbaf4a9740de52ad0d026e020
parent8ae4ba1c6d925bdd110d6bbc04f6338065dd56ac
* debug/chk_fail.c: Include errno.h and string.h.
(__chk_fail): Write a short message to stderr.
* debug/tst-chk1.c: Include fcntl.h.
(do_test): Redirect stderr to /dev/null.
* debug/test-strcpy_chk.c: Include fcntl.h.
(test_main): Redirect stderr to /dev/null.
(do_one_test, do_random_tests): Use printf instead of
error.
ChangeLog
debug/chk_fail.c
debug/test-strcpy_chk.c
debug/tst-chk1.c