AC_DEFUN(BA_CHECK_OPSYS,
-[AC_MSG_CHECKING(for Operating System)
+[
AC_CYGWIN
if test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
then
else
AM_CONDITIONAL(HAVE_DARWIN_OS, $FALSEPRG)
fi
-
-AC_MSG_RESULT(" ")
])
AC_DEFUN(BA_CHECK_OPSYS_DISTNAME,
else
DISTNAME=unknown
fi
-AC_MSG_RESULT(" ")
+AC_MSG_RESULT(done)
])
AC_DEFUN(BA_CHECK_MYSQL_DB,
else
AC_MSG_RESULT(no)
fi
-],[
- AC_MSG_RESULT(no)
-])
+]
+)
AC_ARG_WITH(embedded-mysql,
[
else
AC_MSG_RESULT(no)
fi
-],[
- AC_MSG_RESULT(no)
-])
+]
+)
AC_SUBST(SQL_LFLAGS)
dnl# --------------------------------------------------------------------------
dnl Check for some DBMS backend
dnl NOTE: we can use only one backend at a time
-AC_MSG_RESULT(" ")
-
db_found=no
db_name=none
-
-
if test x$support_mysql = xyes; then
cats=cats
fi
-
AC_MSG_CHECKING(for Berkeley DB support)
AC_ARG_WITH(berkeleydb,
[
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-echo "$as_me:$LINENO: checking for Operating System" >&5
-echo $ECHO_N "checking for Operating System... $ECHO_C" >&6
+
echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
fi
fi
-echo "$as_me:$LINENO: result: \" \"" >&5
-echo "${ECHO_T}\" \"" >&6
-
# -----------------------------------------------------------
# ----------------------------------------------------------
else
DISTNAME=unknown
fi
-echo "$as_me:$LINENO: result: \" \"" >&5
-echo "${ECHO_T}\" \"" >&6
+echo "$as_me:$LINENO: result: done" >&5
+echo "${ECHO_T}done" >&6
# -----------------------------------------------------------
echo "${ECHO_T}no" >&6
fi
-else
-
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
fi;
echo "${ECHO_T}no" >&6
fi
-else
-
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
fi;
int priority;
bool hdr_printed = false;
dlist sched;
- sched_pkt *sp;
+ sched_pkt *sp, *ip;
Dmsg0(200, "enter list_sched_jobs()\n");
sp->priority = priority;
sp->runtime = runtime;
sp->pool = run->pool;
- sched.binary_insert(sp, my_compare);
+ ip = (sched_pkt *)sched.binary_insert(sp, my_compare);
+ if (ip != sp) {
+ /* Identical entry already, we must explictly insert it */
+ sched.insert_after(sp, ip);
+ }
num_jobs++;
}
} /* end for loop over resources */
if (num_items == 1) {
comp = compare(item, first());
if (comp < 0) {
- insert_before(item, first());
+ prepend(item);
//Dmsg0(000, "Insert before first.\n");
return item;
} else if (comp > 0) {
/* Check against first item */
comp = compare(item, first());
if (comp < 0) {
- insert_before(item, first());
+ prepend(item);
//Dmsg0(000, "Inserted item before.\n");
return item;
} else if (comp == 0) {
/* */
#undef VERSION
-#define VERSION "1.35.0"
+#define VERSION "1.35.1"
#define VSTRING "1"
-#define BDATE "08 July 2004"
-#define LSMDATE "08Jul04"
+#define BDATE "09 July 2004"
+#define LSMDATE "09Jul04"
/* Debug flags */
#undef DEBUG
sb->st_atime = cvt_ftime_to_utime(info.ftLastAccessTime);
sb->st_mtime = cvt_ftime_to_utime(info.ftLastWriteTime);
- sb->st_ctime = cvt_ftime_to_utime(info.ftLastWriteTime);
+ sb->st_ctime = cvt_ftime_to_utime(info.ftCreationTime);
FindClose(h);
return 0;
sb->st_blocks = (uint32_t)(sb->st_size + 4095)/4096;
sb->st_atime = cvt_ftime_to_utime(info.ftLastAccessTime);
sb->st_mtime = cvt_ftime_to_utime(info.ftLastWriteTime);
- sb->st_ctime = cvt_ftime_to_utime(info.ftLastWriteTime);
+ sb->st_ctime = cvt_ftime_to_utime(info.ftCreationTime);
error:
CloseHandle(h);
sb->st_blocks = (uint32_t)(sb->st_size + 4095)/4096;
sb->st_atime = cvt_ftime_to_utime(data.ftLastAccessTime);
sb->st_mtime = cvt_ftime_to_utime(data.ftLastWriteTime);
- sb->st_ctime = cvt_ftime_to_utime(data.ftLastWriteTime);
+ sb->st_ctime = cvt_ftime_to_utime(data.ftCreationTime);
return 0;
}