* script.c (scm_shell_usage): Pass FATAL to exit. There's no
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
190b072d
JB
1Thu May 15 16:22:33 1997 Jim Blandy <jimb@floss.cyclic.com>
2
3 * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
4 Return #f on end-of-file when scanning table (i.e. when called
5 with no arguments). Try to catch errors, when we can.
095936d2
JB
6 * posix.c (scm_getgrgid, scm_getpwuid): Same.
7
8 * script.h (scm_shell_usage, scm_compile_shell_switches): New
190b072d
JB
9 external declarations. These are useful.
10
a48a89bc
GH
11Thu May 15 05:21:36 1997 Gary Houston <ghouston@actrix.gen.nz>
12
13 * posix.c: don't include <sys/select.h> or define macros for
14 select, since they were not used in this file.
15
095936d2 16 * filesys.c (scm_select): make the fifth parameter microseconds,
a48a89bc
GH
17 not milliseconds. let the fourth parameter be either a real value
18 or an integer or #f. The first, second and third arguments can
19 now be vectors: the type of the corresponding return set will be
20 the same.
21 (set_element, get_element): new static procedures.
22
f3b1485f
JB
23Wed May 14 12:18:12 1997 Jim Blandy <jimb@floss.cyclic.com>
24
223be5f0
JB
25 * strports.c (scm_eval_string): New function.
26 (scm_eval_0str): Trivially re-implemented in terms of
27 scm_eval_string.
28 * strports.h (scm_eval_string): New extern decl.
29
e1cd56f9
JB
30 * net_db.c (h_errno): Add extern decl for this.
31
f3b1485f
JB
32 * fports.c (local_pclose): New function.
33 (scm_pipob): Use it in the initializer here.
34
35 From Tim Pierce:
36 * net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
37 Use a meaningful error message when signalling an error. For
38 this, scm_gethost must check h_errno rather than errno.
39
9b01064c
JB
40Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
41
42 * Makefile.in: Regenerated, using automake-1.1p.
43
08fea088
GH
44Tue May 13 04:34:52 1997 Gary Houston <ghouston@actrix.gen.nz>
45
0267051b
GH
46 * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
47 not SCM_UNSPECIFIED.
48
08fea088
GH
49 * script.c (scm_compile_shell_switches): don't append (quit) if
50 interactive.
51 (scm_shell): call scm_exit_status and exit on the result of the
52 evaluation.
53
821eb64e
JB
54Mon May 12 17:23:58 1997 Jim Blandy <jimb@floss.cyclic.com>
55
56 Ensure that shared substrings are handled properly when passed to
57 a system call or other foreign function. Many thanks to Tim
58 Pierce!
59 * symbols.h (SCM_COERCE_SUBSTR): new macro.
60 * filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
61 scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
62 scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
63 scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
64 scm_strftime), vports.c (scm_make_soft_port), backtrace.c
65 (scm_display_error_message): use RO macros when strings may be RO.
66 * error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
67 scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
68 scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
69 (scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
70 (scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
71 (scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
72 scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
73 scm_strftime), vports.c (scm_make_soft_port): use
74 SCM_COERCE_SUBSTR to make sure shared substrings are
75 null-terminated.
76
77Mon May 12 15:33:10 1997 Jim Blandy <jimb@totoro.cyclic.com>
78
79 * error.c (scm_error): Add newline to error message.
80
81 * init.c (scm_init_standard_ports): Doc fix.
82
8e6f33db
MV
83Thu May 8 14:38:01 1997 Marius Vollmer <mvo@zagadka.ping.de>
84
85 * dynl-shl.c: Completely replaced with new code from Bernard
86 URBAN.
87
88 * script.c (scm_ice_9_already_loaded): New variable.
89 (scm_compile_shell_switches): Use it.
90
4edc089c
GH
91Mon May 5 20:35:08 1997 Gary Houston <ghouston@actrix.gen.nz>
92
93 * filesys.c (scm_input_waiting_p): add missing third argument to
94 scm_misc_error.
95
96 * stime.c (scm_localtime): copy the result of localtime before
97 calling gmtime in case they share a buffer.
98 (scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
99 nor HAVE_TZNAME.
100
554878da
GH
101Fri May 2 19:07:11 1997 Gary Houston <ghouston@actrix.gen.nz>
102
103 * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).
4edc089c 104
914155ca
JB
105Thu May 1 17:01:45 1997 Jim Blandy <jimb@floss.cyclic.com>
106
107 * Makefile.am (check-local): New target, which causes 'make check'
108 to run gh_test_c and gh_test_repl, with some trivial input.
109 * Makefile.in: Rgnrtd.
110
6fa9bcd0
MV
111Tue Apr 29 19:00:40 1997 Marius Vollmer <mvo@zagadka.ping.de>
112
113 * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
114 been unlinked.
115
9ea54cc6
GH
116Mon Apr 28 06:10:14 1997 Gary Houston <ghouston@actrix.gen.nz>
117
118 * async.c (scm_sys_tick_async_thunk): commented out. I'm not
119 sure how this was supposed to work.
120 (scm_async_click): don't send SCM_TICK_SIGNAL.
121 (scm_init_async): don't initialize %tick-thunk.
122
123 * the following change doesn't affect the Scheme interface:
124 gc-thunk is called at the end of garbage collection. however it's
125 no longer implemented by pretending it's a signal.
126
127 * gc.c (scm_gc_end): don't call scm_take_signal. instead mark the
128 system async corresponding to scm_gc_thunk.
129 * async.h: declare scm_gc_async.
130 * async.c (scm_sys_gc_async_thunk): apply the thunk named by
131 gc-thunk directly, instead of going through a signal handler.
132 (scm_gc_async): new variable, points to the GC system-async.
133 (scm_init_async): save the GC async as scm_gc_async instead
134 of using system_signal_asyncs.
135 (scm_gc_vcell): new variable, stores the gc-thunk vcell.
136
10830232
JB
137Mon Apr 28 19:14:44 1997 Jim Blandy <jimb@floss.cyclic.com>
138
139 * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
140 Don't screw up if we're interrupted.
141 * Makefile.in: Regeneradet.
142
28c682fa
JB
143Sun Apr 27 17:57:15 1997 Jim Blandy <jimb@floss.cyclic.com>
144
145 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
146
147 * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
148 we're not using AM_INIT_GUILE_MODULE any more.
149 * Makefile.in: Reneregated.
150
20108301
JB
151Thu Apr 24 00:41:08 1997 Jim Blandy <jimb@floss.cyclic.com>
152
4616e355 153