bpt/guile.git
27 years ago*** empty log message ***
Jim Blandy [Fri, 16 May 1997 08:05:22 +0000 (08:05 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Thu, 15 May 1997 21:30:45 +0000 (21:30 +0000)]
*** empty log message ***

27 years ago* script.h (scm_shell-usage, scm_compile_shell_switches): New
Jim Blandy [Thu, 15 May 1997 21:30:06 +0000 (21:30 +0000)]
* script.h (scm_shell-usage, scm_compile_shell_switches): New
external declarations.  These are useful.

27 years ago* net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
Jim Blandy [Thu, 15 May 1997 21:29:58 +0000 (21:29 +0000)]
* net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
Return #f on end-of-file when scanning table (i.e. when called
with no arguments).  Try to catch errors, when we can.

27 years agodoc fix
Jim Blandy [Thu, 15 May 1997 21:22:25 +0000 (21:22 +0000)]
doc fix

27 years ago*** empty log message ***
Jim Blandy [Thu, 15 May 1997 21:22:12 +0000 (21:22 +0000)]
*** empty log message ***

27 years ago* expect.scm: use gettimeofday instead of get-internal-real-time
Gary Houston [Thu, 15 May 1997 08:48:38 +0000 (08:48 +0000)]
* expect.scm: use gettimeofday instead of get-internal-real-time
and use a floating point timeout when calling select.  Untested,
since the regex library is currently AWOL.

27 years ago * posix.c: don't include <sys/select.h> or define macros for
Gary Houston [Thu, 15 May 1997 08:46:37 +0000 (08:46 +0000)]
* posix.c: don't include <sys/select.h> or define macros for
select, since they were not used in this file.

* * filesys.c (scm_select): make the fifth parameter microseconds,
not milliseconds.  let the fourth parameter be either a real value
or an integer or #f.  The first, second and third arguments can
now be vectors: the type of the corresponding return set will be
the same.
(set_element, get_element): new static procedures.

27 years ago*** empty log message ***
Jim Blandy [Thu, 15 May 1997 02:03:37 +0000 (02:03 +0000)]
*** empty log message ***

27 years ago* strports.c (scm_eval_string): New function.
Jim Blandy [Thu, 15 May 1997 02:02:40 +0000 (02:02 +0000)]
* strports.c (scm_eval_string): New function.
(scm_eval_0str): Trivially re-implemented in terms of
scm_eval_string.
* strports.h (scm_eval_string): New extern decl.

27 years ago* boot-9.scm (eval-string): Function deleted; it was already
Jim Blandy [Thu, 15 May 1997 02:01:08 +0000 (02:01 +0000)]
* boot-9.scm (eval-string): Function deleted; it was already
implemented in C, so there's no point in making a divergable copy
here.

27 years ago*** empty log message ***
Jim Blandy [Thu, 15 May 1997 00:59:19 +0000 (00:59 +0000)]
*** empty log message ***

27 years ago* net_db.c (h_errno): Add extern decl for this.
Jim Blandy [Thu, 15 May 1997 00:59:04 +0000 (00:59 +0000)]
* net_db.c (h_errno): Add extern decl for this.

27 years ago*** empty log message ***
Jim Blandy [Wed, 14 May 1997 23:34:37 +0000 (23:34 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Wed, 14 May 1997 23:33:37 +0000 (23:33 +0000)]
*** empty log message ***

27 years ago* fports.c (local_pclose): New function.
Jim Blandy [Wed, 14 May 1997 23:31:00 +0000 (23:31 +0000)]
* fports.c (local_pclose): New function.
(scm_pipob): Use it in the initializer here.

27 years agoFrom Tim Pierce:
Jim Blandy [Wed, 14 May 1997 17:20:10 +0000 (17:20 +0000)]
From Tim Pierce:
* net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
Use a meaningful error message when signalling an error.  For
this, scm_gethost must check h_errno rather than errno.

27 years agoDoc fix.
Jim Blandy [Wed, 14 May 1997 16:59:16 +0000 (16:59 +0000)]
Doc fix.

27 years ago*** empty log message ***
Jim Blandy [Tue, 13 May 1997 22:14:10 +0000 (22:14 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Tue, 13 May 1997 21:42:30 +0000 (21:42 +0000)]
*** empty log message ***

27 years ago* Makefile.in: Regenerated, using automake-1.1p.
Jim Blandy [Tue, 13 May 1997 21:42:11 +0000 (21:42 +0000)]
* Makefile.in: Regenerated, using automake-1.1p.

27 years agoSwitch to automake-1.1p.
Jim Blandy [Tue, 13 May 1997 21:37:45 +0000 (21:37 +0000)]
Switch to automake-1.1p.
* Makefile.in, aclocal.m4, configure: Regenerated.

27 years agoDoc fix
Jim Blandy [Tue, 13 May 1997 15:54:07 +0000 (15:54 +0000)]
Doc fix

27 years agosocket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
Gary Houston [Tue, 13 May 1997 04:56:21 +0000 (04:56 +0000)]
socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
not SCM_UNSPECIFIED

27 years ago* socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
Gary Houston [Tue, 13 May 1997 04:54:25 +0000 (04:54 +0000)]
* socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
not SCM_UNSPECIFIED.

27 years ago* script.c (scm_compile_shell_switches): don't append (quit) if
Gary Houston [Tue, 13 May 1997 04:49:49 +0000 (04:49 +0000)]
* script.c (scm_compile_shell_switches): don't append (quit) if
interactive.
(scm_shell): call scm_exit_status and exit on the result of the
evaluation.

27 years ago* boot-9.scm (error-catching-loop): don't read a line from
Gary Houston [Tue, 13 May 1997 04:46:16 +0000 (04:46 +0000)]
* boot-9.scm (error-catching-loop): don't read a line from
current input when quit is encountered, the previous change
fixes this too.

27 years ago*** empty log message ***
Jim Blandy [Tue, 13 May 1997 00:02:23 +0000 (00:02 +0000)]
*** empty log message ***

27 years ago* boot-9.scm (scm-style-repl): After reading an expression,
Jim Blandy [Tue, 13 May 1997 00:02:05 +0000 (00:02 +0000)]
* boot-9.scm (scm-style-repl): After reading an expression,
consume any trailing newline (perhaps preceded by whitespace), to
avoid screwing up GDB.  More detail in comments.

27 years ago*** empty log message ***
Jim Blandy [Mon, 12 May 1997 23:34:10 +0000 (23:34 +0000)]
*** empty log message ***

27 years ago* threads.m4: Copy Anthony's change here, so it'll actually
Jim Blandy [Mon, 12 May 1997 23:34:06 +0000 (23:34 +0000)]
* threads.m4: Copy Anthony's change here, so it'll actually
survive.

27 years ago*** empty log message ***
Jim Blandy [Mon, 12 May 1997 22:43:49 +0000 (22:43 +0000)]
*** empty log message ***

27 years agoEnsure that shared substrings are handled properly when passed to
Jim Blandy [Mon, 12 May 1997 22:43:10 +0000 (22:43 +0000)]
Ensure that shared substrings are handled properly when passed to
a system call or other foreign function.  Many thanks to Tim
Pierce!
* symbols.h (SCM_COERCE_SUBSTR): new macro.
* filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
scm_strftime), vports.c (scm_make_soft_port), backtrace.c
(scm_display_error_message): use RO macros when strings may be RO.
* error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
(scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
(scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
(scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
scm_strftime), vports.c (scm_make_soft_port): use
SCM_COERCE_SUBSTR to make sure shared substrings are
null-terminated.

27 years ago*** empty log message ***
Jim Blandy [Mon, 12 May 1997 21:14:47 +0000 (21:14 +0000)]
*** empty log message ***

27 years ago* init.c (scm_init_standard_ports): Doc fix.
Jim Blandy [Mon, 12 May 1997 20:33:36 +0000 (20:33 +0000)]
* init.c (scm_init_standard_ports): Doc fix.

27 years ago * aclocal.m4: Fixes for building with coop threads in a
Anthony Green [Thu, 8 May 1997 19:14:10 +0000 (19:14 +0000)]
* aclocal.m4: Fixes for building with coop threads in a
seperate compilation directory.
* configure: Rebuilt.

27 years ago*** empty log message ***
Marius Vollmer [Thu, 8 May 1997 12:52:04 +0000 (12:52 +0000)]
*** empty log message ***

27 years ago* script.c (scm_ice_9_already_loaded): New variable.
Marius Vollmer [Thu, 8 May 1997 12:51:12 +0000 (12:51 +0000)]
* script.c (scm_ice_9_already_loaded): New variable.
(scm_compile_shell_switches): Use it.

27 years ago* dynl-shl.c: Completely replaced with new code from Bernard
Marius Vollmer [Thu, 8 May 1997 12:50:18 +0000 (12:50 +0000)]
* dynl-shl.c: Completely replaced with new code from Bernard
URBAN.

27 years ago* Makefile.am (ETAGS_ARGS): New variable, since we're not treating
Jim Blandy [Wed, 7 May 1997 01:11:37 +0000 (01:11 +0000)]
* Makefile.am (ETAGS_ARGS): New variable, since we're not treating
the Scheme code like code yet.
* Makefile.in: Resrac,husrched.

27 years ago*** empty log message ***
Jim Blandy [Wed, 7 May 1997 01:11:00 +0000 (01:11 +0000)]
*** empty log message ***

27 years ago* filesys.c (scm_input_waiting_p): add missing third argument to
Gary Houston [Mon, 5 May 1997 21:01:57 +0000 (21:01 +0000)]
* filesys.c (scm_input_waiting_p): add missing third argument to
scm_misc_error.

* stime.c (scm_localtime): copy the result of localtime before
calling gmtime in case they share a buffer.
(scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
nor HAVE_TZNAME.

27 years ago* configure.in: When configuring qt, sunos needs the underscore
Jim Blandy [Fri, 2 May 1997 21:29:23 +0000 (21:29 +0000)]
* configure.in: When configuring qt, sunos needs the underscore
files; Solaris and Linux both need the normal files.
* configure: Reebilt.

27 years agoUpgrade to libtool 0.9e.
Jim Blandy [Fri, 2 May 1997 21:26:33 +0000 (21:26 +0000)]
Upgrade to libtool 0.9e.
* ltconfig, ltmain.sh, config.guess, config.sub: New versions,
supplied by libtool.

27 years ago* eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).
Gary Houston [Fri, 2 May 1997 19:11:43 +0000 (19:11 +0000)]
* eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).

27 years ago*** empty log message ***
Jim Blandy [Thu, 1 May 1997 22:09:11 +0000 (22:09 +0000)]
*** empty log message ***

27 years ago* Makefile.am (check-local): New target, which causes 'make check'
Jim Blandy [Thu, 1 May 1997 22:08:29 +0000 (22:08 +0000)]
* Makefile.am (check-local): New target, which causes 'make check'
to run gh_test_c and gh_test_repl, with some trivial input.
* Makefile.in: Rgnrtd.

27 years ago*** empty log message ***
Jim Blandy [Thu, 1 May 1997 20:38:09 +0000 (20:38 +0000)]
*** empty log message ***

27 years ago* configure.in: Get the paths for qt's md files right, so it can
Jim Blandy [Thu, 1 May 1997 20:37:45 +0000 (20:37 +0000)]
* configure.in: Get the paths for qt's md files right, so it can
build correctly when using a separate compilation directory.
* configure: Regenerated.

27 years agoMention guile-ffi in my http dir
Marius Vollmer [Thu, 1 May 1997 10:41:16 +0000 (10:41 +0000)]
Mention guile-ffi in my http dir

27 years ago*** empty log message ***
Marius Vollmer [Wed, 30 Apr 1997 13:36:16 +0000 (13:36 +0000)]
*** empty log message ***

27 years ago* boot-9.scm (link-dynamic-module): Do not catch errors from
Marius Vollmer [Wed, 30 Apr 1997 13:35:11 +0000 (13:35 +0000)]
* boot-9.scm (link-dynamic-module): Do not catch errors from
dynamic-link and dynamic-call.  When the shared library exists it is
now assumed to be suitable for a dynamic C module.

27 years ago*** empty log message ***
Marius Vollmer [Tue, 29 Apr 1997 18:31:09 +0000 (18:31 +0000)]
*** empty log message ***

27 years ago* dynl.c (print_dynl_obj): Indicate whether the dynamic object has
Marius Vollmer [Tue, 29 Apr 1997 18:29:53 +0000 (18:29 +0000)]
* dynl.c (print_dynl_obj): Indicate whether the dynamic object has
been unlinked.

27 years ago*** empty log message ***
Marius Vollmer [Tue, 29 Apr 1997 18:23:55 +0000 (18:23 +0000)]
*** empty log message ***

27 years ago* boot-9.scm (process-use-modules): New function to support the
Marius Vollmer [Tue, 29 Apr 1997 18:22:54 +0000 (18:22 +0000)]
* boot-9.scm (process-use-modules): New function to support the
use-modules macro
(use-modules): throw an error iff one of the
requested modules can't be found.

27 years ago * async.c (scm_sys_tick_async_thunk): commented out. I'm not
Gary Houston [Tue, 29 Apr 1997 08:18:08 +0000 (08:18 +0000)]
* async.c (scm_sys_tick_async_thunk): commented out.  I'm not
sure how this was supposed to work.
(scm_async_click): don't send SCM_TICK_SIGNAL.
(scm_init_async): don't initialize %tick-thunk.

* the following change doesn't affect the Scheme interface:
  gc-thunk is called at the end of garbage collection.  however it's
  no longer implemented by pretending it's a signal.

* gc.c (scm_gc_end): don't call scm_take_signal.  instead mark the
system async corresponding to scm_gc_thunk.
* async.h: declare scm_gc_async.
* async.c (scm_sys_gc_async_thunk): apply the thunk named by
gc-thunk directly, instead of going through a signal handler.
(scm_gc_async): new variable, points to the GC system-async.
(scm_init_async): save the GC async as scm_gc_async instead
of using system_signal_asyncs.
(scm_gc_vcell): new variable, stores the gc-thunk vcell.

27 years ago* boot-9.scm: don't define timer-thunk or gc-thunk.
Gary Houston [Tue, 29 Apr 1997 08:15:55 +0000 (08:15 +0000)]
* boot-9.scm: don't define timer-thunk or gc-thunk.

27 years ago*** empty log message ***
Jim Blandy [Tue, 29 Apr 1997 00:29:58 +0000 (00:29 +0000)]
*** empty log message ***

27 years ago* Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
Jim Blandy [Tue, 29 Apr 1997 00:29:40 +0000 (00:29 +0000)]
* Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
Don't screw up if we're interrupted.
* Makefile.in: Regeneradet.

27 years ago*** empty log message ***
Jim Blandy [Mon, 28 Apr 1997 16:53:31 +0000 (16:53 +0000)]
*** empty log message ***

27 years ago* aclocal.m4: Removed; unnecessary, given changes of Apr 24.
Jim Blandy [Sun, 27 Apr 1997 23:00:25 +0000 (23:00 +0000)]
* aclocal.m4: Removed; unnecessary, given changes of Apr 24.

27 years ago* Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
Jim Blandy [Sun, 27 Apr 1997 22:59:39 +0000 (22:59 +0000)]
* Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
we're not using AM_INIT_GUILE_MODULE any more.
* Makefile.in: Reneregated.

27 years ago* Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
Jim Blandy [Sun, 27 Apr 1997 22:58:52 +0000 (22:58 +0000)]
* Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
we're not using AM_INIT_GUILE_MODULE any more.
* Makefile.in: Regeneratitetedrerd.

27 years ago*** empty log message ***
Jim Blandy [Thu, 24 Apr 1997 09:24:24 +0000 (09:24 +0000)]
*** empty log message ***

27 years agoFunctions for finding variable bindings, grace à Tim Pierce.
Jim Blandy [Thu, 24 Apr 1997 09:24:03 +0000 (09:24 +0000)]
Functions for finding variable bindings, grace à Tim Pierce.
* gh_data.c (gh_lookup, gh_module_lookup): New functions.
* gh.h (gh_lookup, gh_module_lookup): New prototypes.

27 years ago*** empty log message ***
Jim Blandy [Thu, 24 Apr 1997 08:19:14 +0000 (08:19 +0000)]
*** empty log message ***

27 years agoGet 'make dist' to work again.
Jim Blandy [Thu, 24 Apr 1997 08:18:01 +0000 (08:18 +0000)]
Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like the secret sachets of seven
sultry sailors.

27 years agoGet 'make dist' to work again.
Jim Blandy [Thu, 24 Apr 1997 08:17:48 +0000 (08:17 +0000)]
Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like a surry without a fringe on top.

27 years agoGet 'make dist' to work again.
Jim Blandy [Thu, 24 Apr 1997 08:17:35 +0000 (08:17 +0000)]
Get 'make dist' to work again.
* Makefile.am (EXTRA_DIST): Remove PLUGIN files.
* Makefile.in: Regenerated, like two tons of fleas.

27 years ago*** empty log message ***
Jim Blandy [Thu, 24 Apr 1997 07:34:14 +0000 (07:34 +0000)]
*** empty log message ***

27 years agoGet threads to work again.
Jim Blandy [Thu, 24 Apr 1997 07:32:58 +0000 (07:32 +0000)]
Get threads to work again.
* Makefile.am (SUBDIRS): List libguile last, so qt gets built
first.
* Makefile.in: Regenerated.
* aclocal.m4, configure: Regenerate, with modern definition of
CY_AC_WITH_THREADS.  Where did the old text come from?  Creepy...

27 years ago*** empty log message ***
Jim Blandy [Thu, 24 Apr 1997 06:40:01 +0000 (06:40 +0000)]
*** empty log message ***

27 years agoChanges for reduced Guile distribution: one configure script,
Jim Blandy [Thu, 24 Apr 1997 06:39:01 +0000 (06:39 +0000)]
Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated.

27 years agoChanges for reduced Guile distribution: one configure script,
Jim Blandy [Thu, 24 Apr 1997 06:38:08 +0000 (06:38 +0000)]
Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* Makefile.in: Regenerated.

27 years ago* init.c: #include "script.h", to get prototype for script.c's
Jim Blandy [Thu, 24 Apr 1997 06:37:25 +0000 (06:37 +0000)]
* init.c: #include "script.h", to get prototype for script.c's
init function.

27 years agoChanges for reduced Guile distribution: one configure script,
Jim Blandy [Thu, 24 Apr 1997 06:36:50 +0000 (06:36 +0000)]
Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in, configure: Removed.
* acconfig.h, acinclude.m4: Moved to parent directory, where the
real configure script lives.
* Makefile.in, scmconfig.h.in: Regenerated.

27 years agoChanges for reduced Guile distribution: one configure script,
Jim Blandy [Thu, 24 Apr 1997 06:32:52 +0000 (06:32 +0000)]
Changes for reduced Guile distribution: one configure script,
no plugins.
* configure.in: Merged the old text from qt/configure.in and
libguile/configure.in; Tom Tromey says automake only wants one
configure.in script.  This seems fishy, but...
* Makefile.am: List the subdirectories explicitly; no more PLUGIN
gubbish.
* acconfig.h, acinclude.m4: Moved here from libguile, since
libguile's configure script lives here now.
* AUTHORS, INSTALL, README: Updated.
* Makefile.in, aclocal.m4 configure: Regenerated.  Just like
amputated amphibian limbs.

27 years ago* script.c (scm_compile_shell_switches): Dyke out debugging output
Jim Blandy [Thu, 24 Apr 1997 02:32:05 +0000 (02:32 +0000)]
* script.c (scm_compile_shell_switches): Dyke out debugging output
code.

27 years ago*** empty log message ***
Jim Blandy [Thu, 24 Apr 1997 02:31:33 +0000 (02:31 +0000)]
*** empty log message ***

27 years ago* gh_data.c (gh_scm2newstr, gh_symbol2newstr): Use
Jim Blandy [Thu, 24 Apr 1997 02:31:22 +0000 (02:31 +0000)]
* gh_data.c (gh_scm2newstr, gh_symbol2newstr): Use
scm_must_malloc, not raw malloc.

27 years ago*** empty log message ***
Jim Blandy [Tue, 22 Apr 1997 22:02:43 +0000 (22:02 +0000)]
*** empty log message ***

27 years ago* eq.c (scm_equal_p): use "SCM_TYP7SD", not "SCM (TYP7SD".
Gary Houston [Mon, 21 Apr 1997 08:14:48 +0000 (08:14 +0000)]
* eq.c (scm_equal_p): use "SCM_TYP7SD", not "SCM (TYP7SD".

* stime.c: include both <sys/times.h> and <sys/timeb.h> if the
system has them.  Hope this is safe.  Previously
sys/timeb.h was included if HAVE_FTIME was defined or if
HAVE_SYS_TIMEB_H was defined but HAVE_SYS_TIMES_H was not,
but IRIX iris 5.3 apparently has ftime but not sys/timeb.h.

27 years ago* ioext.c (scm_setfileno): add missing third argument to
Gary Houston [Mon, 21 Apr 1997 05:09:06 +0000 (05:09 +0000)]
* ioext.c (scm_setfileno): add missing third argument to
scm_misc_error call.

27 years ago*** empty log message ***
Jim Blandy [Sun, 20 Apr 1997 20:11:05 +0000 (20:11 +0000)]
*** empty log message ***

27 years ago* eq.c (scm_equal_p): Correctly compare strings of different
Jim Blandy [Sun, 20 Apr 1997 20:10:54 +0000 (20:10 +0000)]
* eq.c (scm_equal_p): Correctly compare strings of different
varieties.  (Thanks to Tim Pierce.)

27 years agoMove most of the guts of shell command processing into libguile,
Jim Blandy [Sun, 20 Apr 1997 19:58:45 +0000 (19:58 +0000)]
Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.

27 years ago*** empty log message ***
Jim Blandy [Sun, 20 Apr 1997 19:58:07 +0000 (19:58 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Sun, 20 Apr 1997 18:27:14 +0000 (18:27 +0000)]
*** empty log message ***

27 years ago* configure.in: check for presence of gethostent (not present on
Jim Blandy [Sun, 20 Apr 1997 18:27:00 +0000 (18:27 +0000)]
* configure.in: check for presence of gethostent (not present on
OpenBSD by default).
* net_db.c (scm_gethost): Check HAVE_GETHOSTENT.
* configure, scmconfig.h.in: Regenerated.

27 years ago*** empty log message ***
Jim Blandy [Sat, 19 Apr 1997 13:25:36 +0000 (13:25 +0000)]
*** empty log message ***

27 years ago* read.c (skip_scsh_block_comment): SCSH says the !# that ends a
Jim Blandy [Sat, 19 Apr 1997 13:25:28 +0000 (13:25 +0000)]
* read.c (skip_scsh_block_comment): SCSH says the !# that ends a
#! block comment must occur on a line all by itself.

27 years agoMove most of the guts of shell command processing into libguile,
Jim Blandy [Sat, 19 Apr 1997 13:25:21 +0000 (13:25 +0000)]
Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.

27 years ago* alloca.c: #include <scmconfig.h>, not <config.h>.
Jim Blandy [Sat, 19 Apr 1997 13:25:09 +0000 (13:25 +0000)]
* alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.

27 years agoMove most of the guts of shell command processing into libguile,
Jim Blandy [Sat, 19 Apr 1997 13:25:03 +0000 (13:25 +0000)]
Move most of the guts of shell command processing into libguile,
so guile.c can be very small (and eventuallly auto-generated.  (I
mean, generated mechanically, not self-generated.  Hmm.))
* guile.c, script.c, script.h: New source files.
* init.c (scm_boot_guile_1): Call scm_init_script.
* libguile.h: #include "script.h".
* Makefile.am (bin_PROGRAMS, guile_SOURCES, guile_LDADD): New
targets, for new executable.
(libguile_la_SOURCES): Mention script.c.
(modinclude_HEADERS): Add script.h.
* configure.in: Always check for -lm, -lsocket, -lnsl, whether or
not dynamic linking is enabled.  This is because we're generating
executables now.  Move CY_AC_WITH_THREADS call after those, so the
values of cy_cv_threads_libs captures the libs chosen above.
* Makefile.in, configure, aclocal.m4: Regenerated.

* Makefile.am (EXTRA_DIST): Don't distribute gscm.c or gscm.h.
We don't maintain this interface any more, and it just confuses
people.

* alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.

27 years ago*** empty log message ***
Jim Blandy [Sat, 19 Apr 1997 13:12:34 +0000 (13:12 +0000)]
*** empty log message ***

27 years ago* boot-9.scm (eval-string, command-line, load-user-init): New
Jim Blandy [Sat, 19 Apr 1997 13:04:38 +0000 (13:04 +0000)]
* boot-9.scm (eval-string, command-line, load-user-init): New
functions.

27 years ago*** empty log message ***
Jim Blandy [Wed, 16 Apr 1997 22:53:05 +0000 (22:53 +0000)]
*** empty log message ***

27 years ago* backtrace.c (scm_backtrace): Split message string across
Jim Blandy [Wed, 16 Apr 1997 22:52:47 +0000 (22:52 +0000)]
* backtrace.c (scm_backtrace): Split message string across
newlines properly.  GCC is more tolerant of this than other
compilers.

27 years ago*** empty log message ***
Jim Blandy [Wed, 16 Apr 1997 22:45:50 +0000 (22:45 +0000)]
*** empty log message ***