Skip to content
Snippets Groups Projects
Commit c9ca7c39 authored by scjones's avatar scjones
Browse files

* sunos57-select.c: Replace obsolete "xtime.h" with <sys/time.h>.

* test-getdate.sh (valid_timezone): Fix incorrect return values.
parent e2ad281f
No related branches found
No related tags found
No related merge requests found
2008-11-14 Larry Jones <lawrence.jones@siemens.com>
* sunos57-select.c: Replace obsolete "xtime.h" with <sys/time.h>.
* test-getdate.sh (valid_timezone): Fix incorrect return values.
2008-09-16 Derek Price <derek@ximbiot.com> 2008-09-16 Derek Price <derek@ximbiot.com>
* lib/system.h: Remove signal detection. * lib/system.h: Remove signal detection.
......
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "minmax.h" #include "minmax.h"
#include "xtime.h"
static struct stat devnull; static struct stat devnull;
static int devnull_set = -1; static int devnull_set = -1;
......
...@@ -113,9 +113,9 @@ valid_timezone () ...@@ -113,9 +113,9 @@ valid_timezone ()
NTZ=`TZ=$1 date +%Z` NTZ=`TZ=$1 date +%Z`
if test "$NTZ" = "$UTZ" || test "$NTZ" = "$1"; then if test "$NTZ" = "$UTZ" || test "$NTZ" = "$1"; then
skipreason="$1 is not a recognized timezone on this system" skipreason="$1 is not a recognized timezone on this system"
return `false` return 1
else else
return `:` return 0
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment