Marius Vollmer
44815b899d
*** empty log message ***
2004-08-11 19:48:55 +00:00
Marius Vollmer
aba341b68f
(scm_init_storage, scm_stand_in_procs,
...
scm_stand_in_proc): Use a hastable for scm_stand_in_procs instead
of an alist. Thanks to Matthias Koeppe!
2004-08-11 19:48:26 +00:00
Kevin Ryde
98aaa52419
*** empty log message ***
2004-08-10 00:25:37 +00:00
Kevin Ryde
5cb0151510
(scm_putenv): Use unsetenv to remove entries (ie. no "="),
...
when available, for the benefit of FreeBSD and other systems where
putenv() doesn't do that itself.
2004-08-10 00:19:47 +00:00
Rob Browning
a00712e490
*** empty log message ***
2004-08-07 03:37:20 +00:00
Rob Browning
c83d179009
(scm_resolv_error): don't put bad_value in the format string
...
value arguments when calling scm_error since none of the format
strings actually have escapes for the values.
2004-08-07 03:36:38 +00:00
Kevin Ryde
421dccbcef
*** empty log message ***
2004-08-06 01:07:17 +00:00
Kevin Ryde
bc91b91e8f
(scm_array_fill_x): For byvect char fill, force signed char
...
so as not to depend on signedness of plain char. For byvect range
check, throw out-of-range rather than wrong-type-arg.
2004-08-06 01:02:05 +00:00
Kevin Ryde
29da36e4ab
(scm_uniform_vector_ref): For byvect, force signed char so as
...
not to depend on C char signedness.
(scm_array_set_x): For byvect, add range check, per array-fill!.
2004-08-06 00:47:24 +00:00
Kevin Ryde
d6c803c761
*** empty log message ***
2004-08-05 01:38:24 +00:00
Kevin Ryde
b412b5a619
(scm_copy_file): Use fstat on the input fd rather than
...
stat on the filename, to be certain a file rename can't mean we get
info on one filesystem object but open another. This fstat usage is
similar to Emacs copy-file.
2004-08-05 01:33:08 +00:00
Marius Vollmer
45ba1d0060
*** empty log message ***
2004-08-04 21:28:02 +00:00
Marius Vollmer
3c14f331d6
(environ): Use _NSGetEnviron in Darwin shared library, since environ
...
is not directly available there.
2004-08-04 21:27:33 +00:00
Kevin Ryde
c6dcb9a9f9
*** empty log message ***
2004-07-31 01:35:14 +00:00
Kevin Ryde
67305bc7a8
(scm_copy_file): Avoid fd leak when destination file cannot be opened.
2004-07-31 01:32:29 +00:00
Kevin Ryde
e0e350b110
*** empty log message ***
2004-07-27 23:44:20 +00:00
Kevin Ryde
b36f6804b0
(scm_array_set_x): For svect, use scm_num2short to get range
...
check, previously silently truncated inum to short.
2004-07-27 23:39:15 +00:00
Kevin Ryde
1ddea1ca51
*** empty log message ***
2004-07-27 23:15:03 +00:00
Kevin Ryde
df081058b9
(scm_make_regexp): Use SCM_VALIDATE_INT_COPY on flag
...
arguments, previously type was not checked.
2004-07-27 22:54:29 +00:00
Kevin Ryde
9c8911e5fe
*** empty log message ***
2004-07-09 23:35:55 +00:00
Kevin Ryde
d704b2515d
(scm_make_regexp): Free rx on error, to avoid memory leak.
2004-07-09 23:34:55 +00:00
Kevin Ryde
540b3e77f7
*** empty log message ***
2004-07-09 22:47:39 +00:00
Kevin Ryde
eee211fd6e
(scm_hashq, scm_hashv, scm_hash): Restrict to size>=1 rather
...
than size>=0, since 0<=hash<size cannot be satisfied for size==0, and
such a size causes divide-by-zeros in scm_hasher.
2004-07-09 22:45:53 +00:00
Rob Browning
0e294fa144
*** empty log message ***
2004-06-16 01:04:28 +00:00
Rob Browning
e0816d5938
update ifdefery for macosx.
...
(scm_get_stack_base): separate result initialization from
declaration to slience warnings with macosx and hp-ux using gcc
3.3. Thanks to Andreas Vögele.
2004-06-16 01:04:09 +00:00
Kevin Ryde
13bf622fa5
*** empty log message ***
2004-05-13 21:24:48 +00:00
Kevin Ryde
e9c63dad67
(scm_sigaction): Check signum is within range, as per
...
change by Marius in the cvs head.
2004-05-13 21:18:03 +00:00
Kevin Ryde
a68516299f
*** empty log message ***
2004-05-12 00:45:36 +00:00
Kevin Ryde
0e0f3969a9
(scm_floor, scm_ceiling, scm_truncate_number,
...
scm_round_number): New functions, replacing scm_tc7_cxr definitions,
and ensuring exact arguments give exact results, as required by R5RS.
Derived in part from the same by Marius in the cvs head. Reported by
Ray Lehtiniemi.
2004-05-12 00:44:33 +00:00
Marius Vollmer
3e50460304
*** empty log message ***
2004-05-10 22:41:04 +00:00
Marius Vollmer
ab99fb6c07
(scm_sigaction): Validate that the handler is indeed a procedure when
...
it isn't a number.
2004-05-10 22:26:59 +00:00
Kevin Ryde
8d7833a8c6
*** empty log message ***
2004-05-09 22:55:26 +00:00
Kevin Ryde
f0a82ba793
(scm_logbit_p): Correction to test above the end of an
...
inum. Reported by Jan Konecny.
2004-05-09 22:51:24 +00:00
Kevin Ryde
aa01be865e
*** empty log message ***
2004-05-01 21:27:16 +00:00
Kevin Ryde
558fe9ed15
(varargs.h): Remove, leave just stdarg.h which is all the
...
code has support for. Fixes building with AIX cc, which is ansi but
doesn't define __STDC__. Reported by Keith Crane.
(var_start): Remove macro, this variation no longer required.
(scm_list_n): Use va_start directly.
2004-05-01 21:26:35 +00:00
Kevin Ryde
312a986b11
(version.h): Change $^ to $(srcdir)/version.h.in, since
...
$^ is apparently not available on AIX 5.1. Reported by Keith Crane.
2004-05-01 21:16:29 +00:00
Kevin Ryde
f04a2d4bee
(version.h): Change $^ to version.h.in explicitly, since
...
$^ is apparently not available on AIX 5.1. Reported by Keith Crane.
2004-05-01 21:15:11 +00:00
Kevin Ryde
69b6234893
*** empty log message ***
2004-04-27 23:48:18 +00:00
Kevin Ryde
7eab4dcb8e
(scm_floor, scm_ceiling, scm_truncate_number,
...
scm_round_number): New functions, replacing scm_tc7_cxr definitions,
and ensuring exact arguments give exact results, as required by R5RS.
Derived in part from the same by Marius in the cvs head. Reported by
Ray Lehtiniemi.
2004-04-27 23:41:04 +00:00
Kevin Ryde
c6c7d0651c
*** empty log message ***
2004-04-24 23:37:33 +00:00
Kevin Ryde
ea16775d4c
(scm_tables_prehistory): Remove.
2004-04-24 23:30:44 +00:00
Kevin Ryde
e5ef27ff9a
(scm_char_upcase, scm_char_downcase, scm_upcase,
...
scm_downcase): Use ctype.h toupper and tolower. This will be useful
in 8-bit locales, and ensures consistency with char-upper-case? and
char-lower-case? which already use ctype.h.
(scm_upcase_table, scm_downcase_table, scm_lowers, scm_uppers): Remove.
(scm_tables_prehistory): Remove.
2004-04-24 23:24:48 +00:00
Kevin Ryde
b49974ba3d
Missed a bit of:
...
(scm_getcwd, scm_readlink): Avoid memory leak on errors.
2004-04-24 23:19:57 +00:00
Kevin Ryde
9ff1f64794
*** empty log message ***
2004-04-24 22:52:47 +00:00
Kevin Ryde
50af014bb7
(scm_getcwd, scm_readlink): Avoid memory leak on errors.
2004-04-24 22:48:44 +00:00
Kevin Ryde
2064297d2e
(scm_round): Test for x already an integer, to avoid bad
...
rounding in x+0.5 when x is a big value already an integer. In
certain hardware rounding cases x+0.5 can give an adjacent integer,
leading to that as the result, when we really just wanted x itself.
2004-04-22 00:51:07 +00:00
Kevin Ryde
5f9610ad99
*** empty log message ***
2004-04-22 00:39:48 +00:00
Rob Browning
6a46049486
(eval.lo): don't filter -Werror now that we're using
...
-fno-strict-aliasing.
2004-04-20 05:48:42 +00:00
Rob Browning
71174d95db
*** empty log message ***
2004-04-20 05:47:47 +00:00
Kevin Ryde
c3796b3e2d
*** empty log message ***
2004-04-15 00:48:33 +00:00