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