1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 07:30:28 +02:00
Commit graph

3617 commits

Author SHA1 Message Date
Marius Vollmer
0f63e88d5d (scm_array_equal_p): Include scm_tc7_svect in switch. Thanks to
Roland Orre!
2004-09-29 15:58:19 +00:00
Rob Browning
cfa8856006 *** empty log message *** 2004-09-20 06:01:15 +00:00
Rob Browning
b4393f8b3c (scm_compile_shell_switches): Update copyright. 2004-09-20 05:46:56 +00:00
Rob Browning
7987378bd3 *** empty log message *** 2004-09-20 05:45:39 +00:00
Rob Browning
6ce15cabc5 (scm_set_smob_apply): Back out scm_remember_upto_here_1 addition from
yesterday.  It worked, but wasn't the "right" fix since tc is not
subject to GC and has the wrong type.  Instead, rearrange the code in
a way that also avoids the segfault.  Thanks to Sam Hocevar.
2004-09-20 05:43:15 +00:00
Rob Browning
e63bb69d27 *** empty log message *** 2004-09-20 03:47:15 +00:00
Rob Browning
8d0c5006b9 (scm_set_smob_apply): protect tc value with scm_remember_upto_here_1.
Problem was noticed when m68k build segfaulted on document generation.
Reported by Sam Hocevar <sam@zoy.org> (thanks).
2004-09-20 03:47:07 +00:00
Kevin Ryde
f86d524a89 (scm_getc, scm_lfwrite): Recognise \a \b and \r for port column. 2004-09-09 00:10:02 +00:00
Kevin Ryde
5a8d151e8a *** empty log message *** 2004-09-09 00:02:08 +00:00
Kevin Ryde
d987a73787 (SCM_ZEROCOL, SCM_DECCOL): New macros. 2004-09-09 00:01:08 +00:00
Marius Vollmer
ce76fac1fe *** empty log message *** 2004-09-07 15:51:49 +00:00
Marius Vollmer
414f3b7c9d * gc.h (SCM_SET_FREE_CELL_TYPE): New macro.
* gc.c (init_heap_seg): Use it instead of SCM_SET_CELL_TYPE, which
might cause unwanted checking with SCM_DEBUG_CELL_ACCESSES.
2004-09-07 15:50:36 +00:00
Kevin Ryde
76c6d134b2 *** empty log message *** 2004-09-07 00:09:36 +00:00
Kevin Ryde
eaaf29a278 (scm_nice): Correction to error detection. Reported by
Matthias Koeppe.
2004-09-07 00:08:42 +00:00
Han-Wen Nienhuys
459cf1f259 (scm_init_guile_1): move scm_weaks_prehistory before
scm_struct_prehistory. The effect is that structs are freed before
weak vectors are cleaned up. This fixes a bug reported by Kevin
Ryde (putting a struct into a weak vector exposes a freed cell).
2004-08-31 21:44:46 +00:00
Rob Browning
d99217eb04 *** empty log message *** 2004-08-29 23:03:46 +00:00
Rob Browning
2c9656e8c7 (s_scm_array_map_x): update documentation; rename ra0 to
dest, and lra to sources; don't allow (and segfault on) calls
without source arrays, i.e. don't allow (array-map! x proc).
(ramap_1): minor code reformatting.
2004-08-29 23:02:53 +00:00
Kevin Ryde
d2b789516a *** empty log message *** 2004-08-27 01:16:40 +00:00
Kevin Ryde
1155d5ebe2 (scm_fill_sockaddr): Use HAVE_STRUCT_SOCKADDR_SIN_LEN and
HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN for sockaddr fields, SIN_LEN and
SIN_LEN6 are not defined on all systems.  Reported by Michael Tuexen.
2004-08-27 01:12:52 +00:00
Kevin Ryde
88596b9f71 *** empty log message *** 2004-08-17 23:55:53 +00:00
Kevin Ryde
2736b01a86 *** empty log message *** 2004-08-17 23:49:50 +00:00
Kevin Ryde
7caf322c41 (scm_init_socket): Add SOCK_SEQPACKET and SOCK_RDM. 2004-08-17 23:49:09 +00:00
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