Displaying 2 results from an estimated 2 matches for "test_stat".
Did you mean:
test_start
2023 Jan 03
1
mips64el stat/time/…? problem
...ling test, on a high level, is this:
:>a
sleep 2
:>b
test a -nt b
echo $?
This is supposed to echo 1 (false) because a is not newer than b.
The test code is roughly:
// const char *opnd1 = "a";
// const char *opnd2 = "b";
// struct stat b1, b2;
// int s;
return (test_stat(opnd1, &b1) == 0 &&
(((s = test_stat(opnd2, &b2)) == 0 &&
mtimecmp(&b1, &b2) > 0) || s < 0));
// #define st_mtimensec st_mtim.tv_nsec
// #define HAVE_ST_MTIMENSEC 1
static int
mtimecmp(const struct stat *sb1, const struct stat *sb2)
{
if (sb1->s...
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform