Commit graph

346 commits

Author SHA1 Message Date
Gary Houston
a9488d1218 * filesys.c (scm_close): oops, don't call SCM_INUM twice on the
argument.

* ioext.h: new prototypes.
* ioext.c (scm_primitive_dup, scm_primitive_dup2): new procedures.
1997-07-20 10:03:26 +00:00
Gary Houston
eadd48de2b * fluids.c (next_fluid_num): don't do
SCM_THREAD_CRITICAL_SECTION_START/END unless USE_THREADS is defined.

* ports.h: prototypes too.
* ports.c (scm_mode_bits, scm_port_mode): moved from fports.c.

* fports.h: prototype too.
* fports.c (scm_evict_ports): moved from ioext.c.

* ports.c (scm_close_port): return a boolean instead of unspecified.
throw an error if an error other than EBADF occurs.

* filesys.h: scm_close prototype.
* filesys.c (scm_close): new procedure, can close file descriptors
and ports (scsh compatible).

* ports.c (scm_flush_all_ports): SCM_PROC incorrectly allowed an
optional argument.
1997-07-20 05:49:39 +00:00
Gary Houston
9c29ac668f * ports.c (scm_flush_all_ports): SCM_PROC incorrectly allowed an
optional argument.
1997-07-19 18:21:55 +00:00
Marius Vollmer
7f47d2d877 *** empty log message *** 1997-07-18 14:45:38 +00:00
Jim Blandy
32552d73c6 *** empty log message *** 1997-07-11 05:44:05 +00:00
Jim Blandy
8cedfb2e6c *** empty log message *** 1997-07-10 05:26:41 +00:00
Marius Vollmer
517591cdff *** empty log message *** 1997-07-04 21:48:34 +00:00
Marius Vollmer
3f094ddf73 *** empty log message *** 1997-07-03 15:25:25 +00:00
Tim Pierce
4a5fa91c06 alloca configure fixes 1997-06-28 21:32:46 +00:00
Gary Houston
7ad3c1e7c0 * simpos.h: prototype for scm_primitive_exit.
* simpos.c (scm_primitive_exit): new procedure, terminates the
process	without unwinding the stack.
1997-06-28 20:01:20 +00:00
Tim Pierce
5d4774bcf6 Regexp flag enhancements 1997-06-28 08:50:43 +00:00
Tim Pierce
9159ebecb4 Build fixes 1997-06-28 02:19:29 +00:00
Tim Pierce
ad6b30a056 Build fixes 1997-06-28 02:13:33 +00:00
Jim Blandy
9230ac780a *** empty log message *** 1997-06-24 18:17:57 +00:00
Jim Blandy
9572c0d0dd *** empty log message *** 1997-06-24 17:22:58 +00:00
Jim Blandy
fcff2c5c70 *** empty log message *** 1997-06-24 17:21:11 +00:00
Jim Blandy
9e2310a80c *** empty log message *** 1997-06-24 05:43:29 +00:00
Jim Blandy
db5614083d *** empty log message *** 1997-06-24 05:34:22 +00:00
Jim Blandy
f244dee1a1 Revert Marcus's changes; will re-apply when we get papers. 1997-06-24 02:16:31 +00:00
Jim Blandy
42f1c2c94b *** empty log message *** 1997-06-24 01:56:53 +00:00
Jim Blandy
2409cdfac7 *** empty log message *** 1997-06-23 23:49:39 +00:00
Jim Blandy
d94c6eeb75 *** empty log message *** 1997-06-23 04:34:45 +00:00
Jim Blandy
eb1e924e07 *** empty log message *** 1997-06-23 00:51:47 +00:00
Jim Blandy
91b28bb55d *** empty log message *** 1997-06-22 23:47:13 +00:00
Jim Blandy
0dc4863069 ChangeLog 1997-06-22 20:58:07 +00:00
Gary Houston
c85e73d329 * ioext.c (scm_duplicate_port): bug fix: don't try to make the
new port unbuffered until its stream has been set.
1997-06-22 08:11:58 +00:00
Gary Houston
89ea5b7cdf * ports.h: new prototype.
* ports.c (scm_flush_all_ports): new procedure, scsh compatible.
1997-06-21 18:46:27 +00:00
Jim Blandy
91529b1de0 *** empty log message *** 1997-06-21 05:53:51 +00:00
Tim Pierce
bee1449102 Fixed Guile snarfing problem with SunPro suite. 1997-06-20 16:52:19 +00:00
Tim Pierce
5540787919 Tue Jun 17 13:49:56 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
*	* load.c (scm_init_load_path): Append $(datadir)/guile to
	%load-path, so modules do not have to be installed in Guile's
	current version directory.
1997-06-17 19:20:07 +00:00
Marius Vollmer
e5f8e12fd0 *** empty log message *** 1997-06-16 19:10:33 +00:00
Gary Houston
cc0b331281 * scmsigs.c (sys_deliver_signals): add a comment about a probable bug. 1997-06-14 19:04:24 +00:00
Jim Blandy
3688473b02 *** empty log message *** 1997-06-11 05:36:20 +00:00
Jim Blandy
95d59d10cf *** empty log message *** 1997-06-11 01:13:22 +00:00
Marius Vollmer
58932e4ad2 *** empty log message *** 1997-06-08 15:48:54 +00:00
Marius Vollmer
0b46857faa *** empty log message *** 1997-06-06 15:19:36 +00:00
Marius Vollmer
5dade85779 *** empty log message *** 1997-06-04 22:42:29 +00:00
Marius Vollmer
7507aba159 *** empty log message *** 1997-06-03 21:53:24 +00:00
Gary Houston
2ad6b1a531 * scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i]
before applying the handler in case it doesn't return.
1997-06-01 08:08:49 +00:00
Gary Houston
e1a191a8ca * scmsigs.h, async.h: updated.
* _scm.h: if HAVE_RESTARTS is defined then don't use a SYSCALL
loop.

* posix.c (scm_uname): interpret only negative values as an error.
Solaris normally returns a positive value.

* script.c (scm_compile_shell_switches): if we are not going into
an interactive repl, set scm_mask_ints to zero so that asyncs can
run.

* simpos.c (scm_system):  don't ignore/unignore signals around
the "system" call.

* posix.c (scm_open_pipe): don't ignore/unignore signals around
the "popen" call.

* init.c (scm_boot_guile_1): don't call scm_init_signals, it's
done in boot-9.scm instead.

* scmsigs.c, async.c: Major rewriting of signal handling code.
(scm_sigaction): new procedure.
(scm_sleep): don't wrap sleep in SCM_SYSCALL, it would mess up the
timing.
(scm_raise): return unspecified, throw error on failure.

* boot-9.scm: signal-handler, alarm-thunk: removed.
don't define ticks-interrupt etc.
top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
during call to scm-style-repl.

* acconfig.h: mention HAVE_RESTARTS.
* configure.in: check for sigaction and restartable system calls.
1997-05-31 19:02:38 +00:00
Jim Blandy
0e1652816a *** empty log message *** 1997-05-29 02:48:27 +00:00
Jim Blandy
4885ba0e62 *** empty log message *** 1997-05-29 02:20:36 +00:00
Jim Blandy
1e5afba02b *** empty log message *** 1997-05-29 00:13:01 +00:00
Jim Blandy
5aefdd40a7 *** empty log message *** 1997-05-28 00:00:39 +00:00
Jim Blandy
737c9113fe *** empty log message *** 1997-05-27 23:17:46 +00:00
Jim Blandy
33623b5ea7 *** empty log message *** 1997-05-27 02:38:45 +00:00
Jim Blandy
06de7963a3 *** empty log message *** 1997-05-26 23:52:20 +00:00
Jim Blandy
82892beda5 * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
Jim Blandy
a00c28cdbe *** empty log message *** 1997-05-26 18:14:38 +00:00
Jim Blandy
78c283dd07 *** empty log message *** 1997-05-26 18:08:30 +00:00