Commit a014bd2c authored by Daniel Kochmański's avatar Daniel Kochmański
Browse files

Merge branch 'release-15.3.7'

parents ee989b97 4ff5921d
Loading
Loading
Loading
Loading
+1 −0
Changes for .gitignore: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ MODULES
Makefile

src/autom4te.cache
src/config.log

regressions/*.lsp
regressions/eformat-tests/*.txt
+17 −2
Changes for ANNOUNCEMENT: 17 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -35,8 +35,23 @@ Known issues
  quicklisp and have a C compiler accessible to ECL, you may use
  (ext:install-c-compiler) to switch back to the Lisp-to-C compiler.

Changes since 13.5.1
====================
15.3.7 changes since 15.2.21
============================

* autoconf scripts are rewritten to support version 2.69 stack

* direction is now correctly determined, so gcc 5.x builds should be

* broken --with-sse=yes configure flag works once again

* compilation of ECL under MSVC (2008/2010/2012) even with custom
  code pages

* stable-sort now works as desired


15.2.21 changes since 13.5.1
============================

* Features coverity scan model, ffi-unload-module implementation,
  probably more.
+2 −2
Changes for msvc/Makefile: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ srcdir = ..\src

SHORT_SITE_NAME   =
LONG_SITE_NAME    =
ECL_VERSION       = 15.2.21
ECL_VERSION_NUMBER= 150221
ECL_VERSION       = 15.3.7
ECL_VERSION_NUMBER= 150307
ARCHITECTURE      = PENTIUM4
SOFTWARE_TYPE     = NT
SOFTWARE_VERSION  = 5.0
+37 −27
Changes for src/aclocal.m4: 37 added lines, 27 removed lines.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ AC_CHECK_TYPES([long double],[enable_longdouble=yes],[enable_longdouble=no])
if test "$enable_longdouble" != "no" ; then
AC_CHECK_FUNCS([sinl cosl tanl logl expl],[],[enable_longdouble=no; break])
if test "$enable_longdouble" != "no" ; then
AC_DEFINE(ECL_LONG_FLOAT)
AC_DEFINE([ECL_LONG_FLOAT], [], [ECL_LONG_FLOAT])
fi
fi
fi
@@ -53,9 +53,10 @@ if test "x$ECL_LONG_LONG_BITS" = "x"; then
  AC_MSG_RESULT(not available)
else
  AC_MSG_RESULT([$ECL_LONG_LONG_BITS])
  AC_DEFINE(ecl_long_long_t, long long, [compiler understands long long])
  AC_DEFINE(ecl_ulong_long_t, unsigned long long, [compiler understands long long])
  AC_DEFINE_UNQUOTED([ECL_LONG_LONG_BITS],[$ECL_LONG_LONG_BITS])
  AC_DEFINE([ecl_long_long_t], [long long], [compiler understands long long])
  AC_DEFINE([ecl_ulong_long_t], [unsigned long long], [compiler understands long long])
  AC_DEFINE_UNQUOTED([ECL_LONG_LONG_BITS],[$ECL_LONG_LONG_BITS],
   [ECL_LOING_LONG_BITS])dnl last param needs to be on a new line. -evrim.
fi
])

@@ -494,8 +495,8 @@ AC_TYPE_UINT$1_T
if test "x$ac_cv_c_int$1_t" = xyes; then
  eval ECL_INT$1_T="int$1_t"
  eval ECL_UINT$1_T="uint$1_t"
  AC_DEFINE_UNQUOTED([ecl_int$1_t],[int$1_t])
  AC_DEFINE_UNQUOTED([ecl_uint$1_t],[uint$1_t])
  AC_DEFINE_UNQUOTED([ecl_int$1_t], [int$1_t], [ecl_int$1_t])
  AC_DEFINE_UNQUOTED([ecl_uint$1_t], [uint$1_t], [ecl_uint$1_t])
fi])

dnl
@@ -543,24 +544,26 @@ AC_DEFUN(ECL_STACK_DIRECTION,[
  AC_MSG_CHECKING(whether stack growns downwards)
if test -z "${ECL_STACK_DIR}" ; then
  AC_RUN_IFELSE([AC_LANG_SOURCE([[

#include <stddef.h>
#include <stdlib.h>

char *f2() {
ptrdiff_t f2(const char *d) {
  char c[2];
  return c;
  return c-d;
}

char *f1() {
ptrdiff_t f1(const char *d) {
  char c[2];
  return c+1;
  return c+1-d;
}

typedef char *(*f_ptr)();
typedef ptrdiff_t (*f_ptr)(const char *);
f_ptr f[2] = { f1, f2 };

int signo() {
ptrdiff_t signo() {
  char d[1];
  return f[rand() & 1]() - d;
  return f[rand() & 1](d);
}

int main() {
@@ -572,7 +575,7 @@ int main() {
]])],[ECL_STACK_DIR=down],[ECL_STACK_DIR=up],[])
fi
case "${ECL_STACK_DIR}" in
  down|DOWN) AC_MSG_RESULT(yes); AC_DEFINE(ECL_DOWN_STACK, [1], [Stack grows downwards]) ;;
  down|DOWN) AC_MSG_RESULT(yes); AC_DEFINE([ECL_DOWN_STACK], [1], [Stack grows downwards]) ;;
  up|UP) AC_MSG_RESULT(no) ;;
  *) AC_MSG_ERROR(Unable to determine stack growth direction)
esac])
@@ -719,8 +722,8 @@ int main() {
fi
case "${ECL_NEWLINE}" in
  LF) AC_MSG_RESULT(lf) ;;
  CR) AC_MSG_RESULT(cr); AC_DEFINE(ECL_NEWLINE_IS_CR, [1], [Define if your newline is CR]) ;;
  CRLF) AC_MSG_RESULT(cr+lf); AC_DEFINE(ECL_NEWLINE_IS_CRLF, [1], [Define if your newline is CRLF]) ;;
  CR) AC_MSG_RESULT(cr); AC_DEFINE([ECL_NEWLINE_IS_CR], [1], [Define if your newline is CR]) ;;
  CRLF) AC_MSG_RESULT(cr+lf); AC_DEFINE([ECL_NEWLINE_IS_CRLF], [1], [Define if your newline is CRLF]) ;;
  *) AC_MSG_ERROR(Unable to determine linefeed mode) ;;
esac
])
@@ -782,7 +785,7 @@ AC_RUN_IFELSE(
    int main() {
      return (foo() == 0);
    }]])],
  [AC_DEFINE(HAVE___BUILTIN_RETURN_ADDRESS)],
  [AC_DEFINE([HAVE___BUILTIN_RETURN_ADDRESS], [], [HAVE___BUILTIN_RETURN_ADDRESS])],
  [])
fi
])
@@ -835,7 +838,7 @@ _mm_getcsr();]])],[sse_included=yes],[sse_included=no])
  fi
 fi
 if test "x$with_sse" = xyes; then
  AC_DEFINE(ECL_SSE2)
  AC_DEFINE([ECL_SSE2], [], [ECL_SSE2])
  AC_MSG_RESULT([yes])
 else
  AC_MSG_RESULT([no])
@@ -847,8 +850,8 @@ dnl ----------------------------------------------------------------------
dnl Check whether we have POSIX read/write locks are available
AC_DEFUN([ECL_POSIX_RWLOCK],[
AC_CHECK_FUNC( [pthread_rwlock_init], [
  AC_DEFINE(ECL_RWLOCK)
  AC_DEFINE(HAVE_POSIX_RWLOCK)
  AC_DEFINE([ECL_RWLOCK], [], [ECL_RWLOCK])
  AC_DEFINE([HAVE_POSIX_RWLOCK], [], [HAVE_POSIX_RWLOCK])
], [])
THREAD_OBJ="$THREAD_OBJ threads/rwlock"
])
@@ -870,7 +873,7 @@ int main() {
fi
AC_MSG_RESULT([$ECL_WORKING_ENVIRON])
if test $ECL_WORKING_ENVIRON = yes ; then
  AC_DEFINE(HAVE_ENVIRON)
  AC_DEFINE([HAVE_ENVIRON], [], [HAVE_ENVIRON])
fi
])

@@ -911,7 +914,7 @@ if test "x${enable_threads}" != "xno"; then
    if test "${enable_shared}" = "no"; then
      LIBRARIES="${LIBRARIES} ${LIBPREFIX}eclatomic.${LIBEXT}"
    fi
    AC_DEFINE(ECL_LIBATOMIC_OPS_H)
    AC_DEFINE([ECL_LIBATOMIC_OPS_H], [], [ECL_LIBATOMIC_OPS_H])
    CORE_LIBS="-leclatomic ${CORE_LIBS}"
  else
    CORE_LIBS="-latomic_ops ${CORE_LIBS}"
@@ -947,9 +950,9 @@ if test "${enable_boehm}" = auto -o "${enable_boehm}" = system; then
 fi
 if test "${system_boehm}" = "yes"; then
   AC_CHECK_LIB( [gc], [GC_set_start_callback],
                 [AC_DEFINE(HAVE_GC_SET_START_CALLBACK)], [] )
                 [AC_DEFINE([HAVE_GC_SET_START_CALLBACK], [], [HAVE_GC_SET_START_CALLBACK])], [] )
 else
  AC_DEFINE(HAVE_GC_SET_START_CALLBACK)
  AC_DEFINE([HAVE_GC_SET_START_CALLBACK], [], [HAVE_GC_SET_START_CALLBACK])
 fi
 AC_MSG_CHECKING( [whether we can use the existing Boehm-Weiser library] )
 AC_MSG_RESULT( [${system_boehm}] )
@@ -973,6 +976,13 @@ if test "${enable_boehm}" = "included"; then
 dnl
 AC_MSG_NOTICE([Configuring included Boehm GC library:])
 test -d gc && rm -rf gc
 currentdir=`${PWDCMD}`
 cd $srcdir/${ECL_GC_DIR};
 if test -d configure; then
    autoreconf -vif
    automake --add-missing
 fi;
 cd $currentdir;
 if mkdir gc; then
   if (destdir=`${PWDCMD}`; cd gc; \
       $srcdir/${ECL_GC_DIR}/configure --disable-shared --prefix=${destdir} \
@@ -996,11 +1006,11 @@ if test "${enable_boehm}" = "included"; then
 fi
fi
if test "${enable_gengc}" != "no" ; then
  AC_DEFINE(GBC_BOEHM_GENGC)
  AC_DEFINE([GBC_BOEHM_GENGC], [], [GBC_BOEHM_GENGC])
fi
AC_MSG_CHECKING([if we use Boehm-Demers-Weiser precise garbage collector]);
if test "${enable_precisegc}" != "no" ; then
  AC_DEFINE(GBC_BOEHM_PRECISE)
  AC_DEFINE([GBC_BOEHM_PRECISE], [], [GBC_BOEHM_PRECISE])
  AC_MSG_RESULT([yes])
else
  AC_MSG_RESULT([no])
@@ -1067,7 +1077,7 @@ fi
if test -z "${ECL_LIBFFI_HEADER}"; then
  AC_MSG_WARN([Unable to configure or find libffi library; disabling dynamic FFI])
else
  AC_DEFINE(HAVE_LIBFFI)
  AC_DEFINE([HAVE_LIBFFI], [], [HAVE_LIBFFI])
fi
])
+5 −5
Changes for src/c/file.d: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -2773,12 +2773,12 @@ io_file_length(cl_object strm)
static cl_object
io_file_get_position(cl_object strm)
{
	int f = IO_FILE_DESCRIPTOR(strm);
        if (isatty(f)) return(ECL_NIL);

	cl_object output;
	ecl_off_t offset;

	int f = IO_FILE_DESCRIPTOR(strm);
	if (isatty(f)) return(ECL_NIL);

	ecl_disable_interrupts();
	offset = lseek(f, 0, SEEK_CUR);
	ecl_enable_interrupts();
@@ -2810,10 +2810,10 @@ io_file_get_position(cl_object strm)
static cl_object
io_file_set_position(cl_object strm, cl_object large_disp)
{
	int f = IO_FILE_DESCRIPTOR(strm);
        if (isatty(f)) return(ECL_NIL);
	ecl_off_t disp;
	int mode;
	int f = IO_FILE_DESCRIPTOR(strm);
	if (isatty(f)) return(ECL_NIL);
	if (Null(large_disp)) {
		disp = 0;
		mode = SEEK_END;
Loading