Daniel Kochmański
091d53626b
encoding: typo
2017-02-16 21:31:51 +01:00
Daniel Kochmański
1b90599696
encodings: get rid of spurious function
...
We don't need explicit si_make_encoding.
2017-02-16 21:29:42 +01:00
Daniel Kochmański
bdc75e42da
encodings: don't fake ext:make-encoding in dispatch table
...
si_make_encoding was bound to ext:make-encoding before version in
iolib.lsp was overwriting it. That caused maybe_fix_console to fail on
Windows due to infinite concurrency (si_make_encoding called itself,
because iolib.lsp wasn't called yet).
Fixes #160 .
2017-02-16 20:44:07 +01:00
Erik Bray
47b1e98272
In flisten check that the stream is not in an error state, as well as not eof
...
(The latter doesn't necessarily imply the former)
2017-02-09 18:41:40 +01:00
Kris Katterjohn
2c651a9ecd
Improve some error messages for functions of exactly one variable
...
This changes
"the value of the first argument"
to
"the value of the only argument"
in some type-error error messages for functions accepting exactly
one argument.
2017-02-07 16:19:17 -06:00
Kris Katterjohn
98969d14ff
Fix some more error messages mentioning the wrong function names
...
array-rank - mentioned array-dimension instead
denominator - mentioned numerator instead
set - mentioned setq instead
2017-02-07 16:17:26 -06:00
Kris Katterjohn
10e3b8c39d
Fix error message in OPEN-SERVER-STREAM
...
It mentioned OPEN-CLIENT-STREAM instead.
2017-02-05 13:02:55 -06:00
Kris Katterjohn
6b103ae6d3
Fix off-by-one range checks for TCP port numbers
...
Port numbers should be in the range [0,65535] not [0,65536]. It
looks like the check was changed from 65535 to 65536 in commit
89b9a561ea .
2017-02-05 13:01:07 -06:00
Daniel Kochmański
93a218e0f2
unixfsys: remove coerce_to_posix_filename
...
This was a workaround around bugs in cygwin and mingw (which are already
fixed), when the directory name ended with '/'. This fix introduced
extra bug with probe-file called on the root directory (it returned nil
on all platforms).
Original comment:
This converts a pathname designator into a namestring, with the
particularity that directories do not end with a slash '/', because this
is not supported on all POSIX platforms (most notably Windows).
Bug reference:
https://sourceforge.net/p/mingw-w64/patches/34/
Fixes #351 .
2017-02-04 12:50:28 +01:00
Fabrizio Fabbri
4ed1ba10cc
Fix non msvc build broken by 5758af77
2017-01-11 08:16:07 +01:00
Daniel Kochmański
d7ca24c3fd
Merge branch 'develop' into 'develop'
...
msvc: Compare thread id instead of handlers to check if it is already registered.
See merge request !42
2017-01-10 09:56:12 +00:00
Fabrizio Fabbri
5758af7756
msvc: Compare thread id instead of handlers to check if it is already registered.
2017-01-10 10:42:27 +01:00
Daniel Kochmański
9c80353aba
dlerror may return NULL, use safe variant
2017-01-09 18:13:05 +01:00
Daniel Kochmański
f3198d2fbc
Merge branch 'develop' into 'develop'
...
Check whether dlerror(3) returns NULL.
See merge request !41
2017-01-09 17:05:14 +00:00
Vadim Penzin
f8a609e7d5
Check whether dlerror(3) returns NULL.
2017-01-08 07:26:00 +02:00
Daniel Kochmański
9eaf33656e
simplify readlink code
...
Fixes #341 .
2017-01-06 18:53:03 +01:00
Daniel Kochmański
9a47e3b6c5
another fix for install target
2017-01-06 18:52:24 +01:00
Daniel Kochmański
cb3294fc7b
fix parallel builds
2017-01-06 18:52:24 +01:00
Daniel Kochmański
adbedd31de
add back two makefiles
2017-01-06 18:52:24 +01:00
Vadim Penzin
fa0b55ba5b
Prevent CLOS' stream-read-line from signalling end-of-file while reading unterminated lines.
2017-01-05 13:44:38 +02:00
Daniel Kochmański
904333a5a3
atan: fix builds without long double
2016-12-22 09:29:21 +01:00
Daniel Kochmański
50cd94ccf3
atan: use libc functions
...
We get rid of some code which didn't handle correctly ieee-fp in favor
of c99 functions. Fixes #332 .
2016-12-22 09:05:15 +01:00
Daniel Kochmański
7747313d74
Revert "atan: fix if-clause order to work on signed zero"
...
This reverts commit 5199c6acd1 .
2016-12-21 16:54:38 +01:00
Daniel Kochmański
17fc9b51b2
Revert "atan: fix if-clause order to work on signed zero (2)"
...
This reverts commit 4ba367531e .
2016-12-21 16:54:23 +01:00
Daniel Kochmański
4ba367531e
atan: fix if-clause order to work on signed zero (2)
...
Fixes #329 . This time for real :-)
2016-12-20 17:56:20 +01:00
Daniel Kochmański
25b25fc1bd
cosmetic: add informative comment about abs
2016-12-20 17:37:44 +01:00
Daniel Kochmański
5199c6acd1
atan: fix if-clause order to work on signed zero
...
Fixes #329 .
2016-12-20 17:15:59 +01:00
Daniel Kochmański
c80b7762d6
buildsystem: fix sse build
2016-12-19 12:31:51 +01:00
Daniel Kochmański
f2f49389fa
cosmetic: use comment instead of #if 0
2016-12-13 17:22:38 +01:00
Daniel Kochmański
d8694124ee
don't trap underflows
2016-12-13 17:22:02 +01:00
Daniel Kochmański
fb0359eda1
external process: we are using handle, not a pointer
2016-12-08 15:56:55 +01:00
Daniel Kochmański
62cf64aa86
terminate-process: windows HANDLE isn't fixnum
2016-12-08 14:58:17 +01:00
Daniel Kochmański
42901b3c31
FreeBSD 11.0 doesn't define RLIM_SAVED_MAX/CUR
2016-12-07 10:10:01 +01:00
Daniel Kochmański
e6fcb5b7a8
floating point exceptions: be more ansi-compliant
...
signal exceptions on underflows, overflows, division by zero etc.
2016-12-06 12:45:38 +01:00
Daniel Kochmański
626f4829bb
number comparison: fix check for infinity (typo)
2016-12-06 09:47:16 +01:00
Daniel Kochmański
b07cac33b1
fix bogus change during reindent
2016-12-05 22:06:23 +01:00
Daniel Kochmański
2287b02b53
gc-stats: always return correct number of bytes consed
2016-12-04 15:53:50 +01:00
Daniel Kochmański
b51576c90d
cosmetic: comment wrap
2016-12-04 15:19:53 +01:00
Daniel Kochmański
426ab1f172
gc-stats: handle unsinged int overflow correctly
2016-12-04 14:48:26 +01:00
Daniel Kochmański
e4e3bc64bc
cosmetic: comment wrap
2016-12-04 14:47:59 +01:00
Daniel Kochmański
cbb4e47d00
Prevent crash from #267 .
2016-12-03 23:19:16 +01:00
Daniel Kochmański
6880e45761
cmuutil: improve file and export macros
...
Add docstrings and export ONCE-ONLY and COLLECT. Also export alias for
WITH-UNIQUE-NAMES named WITH-GENSYMS.
COLLECT and ONCE-ONLY accept now bare symbols (as a syntactic sugar).
2016-11-19 16:02:31 +01:00
Daniel Kochmański
177e661ff0
Get rid of a warning (cast pointer to integer)
2016-11-19 11:19:05 +01:00
Daniel Kochmański
0b1106d8fa
explain shift-count-overflow warning during the compilation
...
Do it in comment. This may be probably fixed with a preprocessor, but
it's not that obvious – we need off_t number of bits available at the
compilation time and compare it to FIXNUM bits.
2016-11-19 11:03:49 +01:00
Daniel Kochmański
7d8f7cdc76
add _ecl_unexpected_return(); to noreturn funs
2016-11-18 14:58:31 +01:00
Daniel Kochmański
dd5a189a9d
si_nan: return correct value (typo)
2016-11-18 14:58:15 +01:00
Daniel Kochmański
f70f46a1b7
si_nan: return value (bugfix)
2016-11-18 14:50:56 +01:00
Daniel Kochmański
6b07439dfe
ieee-fp: remove si_infinity
...
Our "new" way of defining infinity constants breaks on ARM. Remove
unnecessary functions.
IEEE-FP are a nightmare (honestly).
2016-11-18 13:48:22 +01:00
Daniel Kochmański
c1f485cc31
Simplify mp lambda lists
...
Remove redundant keyword-name specification from make-locks recursive
and remove dummy &key from barrier-wait (potentially not backward
compatible with C code).
2016-11-17 23:00:17 +01:00
Daniel Kochmański
c1067620a7
Improve rwlock built-in class recognition
...
Fixes #303 .
2016-11-10 19:42:52 +01:00