Fix decoding of gettimeofday and settimeofday
* time.c (print_timezone): new function.
(sys_gettimeofday, sys_settimeofday): Use it instead of print_timeval
to print struct timezone.
[ALPHA] (sys_osf_gettimeofday, sys_osf_settimeofday): Use it
instead of print_timeval32 to print struct timezone.
* tests/xettimeofday.c: New file.
* tests/xettimeofday.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add xettimeofday.
(TESTS): Add xettimeofday.
* tests/.gitignore: Add xettimeofday.
diff --git a/tests/.gitignore b/tests/.gitignore
index 485864d..6257468 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -71,6 +71,7 @@
xattr
xet_robust_list
xetitimer
+xettimeofday
*.log
*.log.*
*.o