1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 23:20:38 +02:00
Commit graph

9023 commits

Author SHA1 Message Date
Jim Blandy
c3d20aa6a2 *** empty log message *** 1998-10-05 18:11:20 +00:00
Jim Blandy
008112c14b * guile-config.in (build-link): Include a -L option in the output
from `guile-config link', indicating where libguile was installed.
1998-10-05 18:11:04 +00:00
Jim Blandy
8b49142f60 *** empty log message *** 1998-10-04 16:44:53 +00:00
Jim Blandy
a88a4c8a6f * backtrace.c (display_error_body): The current frame does not
always have a parent frame; consider a function called directly
from the MAIN_FUNC passed to scm_boot_guile.  (Thanks to Maciej
Stachowiak.)
1998-10-04 16:44:34 +00:00
Jim Blandy
533149475d *** empty log message *** 1998-10-04 12:59:56 +00:00
Jim Blandy
f122e56eda * alloca.c (alloca): Undo yesterday's changes, and simply call
malloc directly for storage, and abort if we don't get what we
want.  The situation is much simpler --- just call malloc.  Emacs
has bizarre/evil requirements (signal handlers might malloc unless
you set this global flag, so you have to set the flag around all
calls to malloc) which we are certainly not going to conform to,
so we can do the simple and obvious thing.
1998-10-04 12:59:41 +00:00
Jim Blandy
9086fa7771 * coop.c (coop_condition_variable_wait): Make this function
static.  It's only useful internally --- you should never just
wait on a condition variable.
* coop-defs.h (coop_condition_variable_wait): Delete prototype.
1998-10-04 12:10:11 +00:00
Jim Blandy
859bb43171 *** empty log message *** 1998-10-04 11:46:51 +00:00
Jim Blandy
d627bf71ec *** empty log message *** 1998-10-03 20:59:26 +00:00
Jim Blandy
c39894a855 *** empty log message *** 1998-10-03 20:58:49 +00:00
Jim Blandy
da5099742d * guile-config.in: Don't import ice-9 regex; that's not available
on all systems.  Maybe someday we'll have our own...
(set-program-name!): Use basename.
(build-link): Use basename and stock string functions, instead of
string-match.
1998-10-03 20:58:41 +00:00
Jim Blandy
7265de7033 *** empty log message *** 1998-10-03 20:08:58 +00:00
Jim Blandy
f69575032d * unif.c (scm_array_set_x): Accept any kind of number as an
element for a uniform vector of doubles.  This is more consistent
with Scheme's view of numbers.  (Thanks to Miroslav Silovic.)
1998-10-03 20:08:45 +00:00
Jim Blandy
a9fe62cba3 *** empty log message *** 1998-10-03 19:51:24 +00:00
Jim Blandy
ce6ed4bae6 * alloca.c: Use scm_must_malloc to obtain storage. Hopefully this
works; I can't conveniently test it myself.  (Thanks to Dvid
Tillman for the bug report.)
1998-10-03 19:51:05 +00:00
Jim Blandy
48ca6468ab *** empty log message *** 1998-10-03 19:30:38 +00:00
Jim Blandy
fe75dfc504 * configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
stdio implementation.  (Thanks to David Tillman.)
* configure: Rebuilt.
1998-10-03 19:30:21 +00:00
Jim Blandy
2adfe1c0de *** empty log message *** 1998-10-03 19:00:59 +00:00
Jim Blandy
bcc695e361 * guile-config: Renamed from `build'.
* Makefile.am (SUBDIRS): Mention `guile-config', not `build'.
* configure.in: Create `guile-config/Makefile.in', not
`build/Makefile.in'.  Doc fix, too.
* qthreads.m4: Doc fix.
* Makefile.in, aclocal.m4, configure: Regeneranegerederadea.
1998-10-03 19:00:10 +00:00
Jim Blandy
29cd26efb6 All files moved to ../guile-config. 1998-10-03 18:46:05 +00:00
Jim Blandy
9a56cb245d * Directory renamed to guile-config from build.
* guile-config.in: Renamed from build-guile.in, for consistency
with the analogous script for GTK, called gtk-config.
* Makefile.am, .cvsignore: References to `build-guile' replaced
with `guile-config'.
=================== See guile-core/build for further log entries ============
This directory used to be called guile-core/build, but was renamed to
guile-core/guile-config when we renamed build-guile to guile-config.
For further CVS log entries, you'll need to run cvs log in the
../build subdirectory; it's dumb, but that's CVS for you.
1998-10-03 18:45:14 +00:00
Jim Blandy
8986901b1d *** empty log message *** 1998-10-03 18:13:02 +00:00
Jim Blandy
026065b72c *** empty log message *** 1998-10-03 17:40:44 +00:00
Jim Blandy
bdca108323 * init.c: Doc fixes. 1998-10-03 17:40:28 +00:00
Jim Blandy
6b8d19d302 * init.c (invoke_main_func): Load the startup files (boot-9.scm)
from here, not from scm_compile_shell_switches (which is a pretty
dumb place to do it).
(scm_load_startup_files): New function.
(scm_ice_9_already_loaded): Variable moved to here from script.c.
* script.c (scm_compile_shell_switches): Don't load the startup
files here.
(scm_ice_9_already_loaded): Variable moved.
* init.c (scm_load_startup_files): Prototype for new function.
* gh_init.c (gh_enter): Doc fix.
1998-10-03 17:40:08 +00:00
Jim Blandy
541716d15c *** empty log message *** 1998-10-03 14:13:08 +00:00
Jim Blandy
82a76bdfcf Some anti-warning changes from Greg Harvey.
* gh_data.c (gh_scm2doubles): Initialize m, to avoid compiler
warnings when it doesn't understand our NORETURN declarations in
error.h.
* posix.c (scm_mknod): Similar.
1998-10-03 14:12:59 +00:00
Jim Blandy
f9d12ce88b *** empty log message *** 1998-10-03 14:10:29 +00:00
Jim Blandy
20752a3415 * posix.c (scm_getpwuid): If we can't find an entry, return our
own message, instead of using scm_syserror --- the getpwMUMBLE
functions don't set `errno' to anything interesting.
1998-10-03 14:10:18 +00:00
Jim Blandy
0553d3a207 *** empty log message *** 1998-10-03 13:36:09 +00:00
Jim Blandy
c31bfb8563 * configure.in: Check for a missing `sleep' declaration.
* acconfig.h (MISSING_SLEEP_DECL): Provide some text for this.
* configure: Regenerated.
1998-10-03 13:34:32 +00:00
Jim Blandy
6d71500e94 Get rid of warnings from the cooperative threading system.
* threads.h (scm_single_thread_p, scm_yield,
scm_call_with_new_thread, scm_join_thread, scm_make_mutex,
scm_lock_mutex, scm_unlock_mutex, scm_make_condition_variable,
scm_wait_condition_variable, scm_signal_condition_variable): Add
prototypes for these Scheme-visible functions.
* coop-defs.h (coop_next_runnable_thread,
coop_wait_for_runnable_thread_now, coop_wait_for_runnable_thread):
Prototypes for these here, even though they're from iselect.c.
(coop_condition_variable_wait, coop_join): Add prototypes.
* coop-threads.c (scm_threads_free_thread, scm_threads_free_mutex,
scm_threads_free_condvar): Make these smob functions static.
* coop-threads.h (coop_init): Give this a real prototype.
* coop.c: #include <unistd.h>, if we have it, for `usleep' and `sleep'.
(coop_next_runnable_thread): No need to provide prototype; it's in
coop-defs.h.
1998-10-03 13:33:53 +00:00
Jim Blandy
7f0f3eaa5f * iselect.c, threads.c: Doc fixes. 1998-10-03 13:33:24 +00:00
Jim Blandy
d30a05f7ab * scmconfig.h.in: .detarenegeR 1998-10-03 13:32:41 +00:00
Jim Blandy
235bb3fe78 *** empty log message *** 1998-10-03 09:15:11 +00:00
Jim Blandy
0f62a9b3d9 * Makefile.in: Regenerated with a patched automake, to get
dependency generation right when using EGCS.
1998-10-03 09:14:52 +00:00
Jim Blandy
7b2d545434 * inet_aton.c (inet_aton): Add prototype, to remove compiler
warning. (Thanks to Robert Pluim.)
* inet_aton.c (inet_aton): Reassure the compiler that the
arguments to the <ctype.h> macros are all unsigned characters, not
signed characters.
1998-10-03 09:12:12 +00:00
Jim Blandy
a844424977 *** empty log message *** 1998-10-03 09:10:09 +00:00
Jim Blandy
777b022a9e * configure.in: Don't use the canonical host name to decide
whether `bzero' and `usleep' have declarations --- that's going
back to the bad old days before autoconf.  Remove the call to
AC_CANONICAL_HOST and the subsequent case statement.
(GUILE_FUNC_DECLARED): New m4 macro.  Use it to check for
declarations for `bzero', `usleep', and (new!) `strptime'.
* acconfig.h: (DECLARE_BZERO, DECLARE_USLEEP): Removed.
(MISSING_BZERO_DECL, MISSING_USLEEP_DECL, MISSING_STRPTIME_DECL):
Added.  I think this naming convention is more consistent with the
rest of autoconf; names generally describes the system, not what
the package should do to accomodate the system.
* configure: Regenerated.
1998-10-03 08:01:41 +00:00
Jim Blandy
83d1c666c3 *** empty log message *** 1998-10-03 08:01:27 +00:00
Jim Blandy
bf847dab9a * readline.c: Doc fix.
(rl_cleanup_after_signal, rl_free_line_state): Make these static.
* readline.h (scm_filename_completion_function): Add prototype.
(scm_init_readline): Make this into a prototype.
1998-10-03 08:00:39 +00:00
Jim Blandy
cff278a8c7 * readline.c: Doc fix.
(rl_cleanup_after_signal, rl_free_line_state): Make these static.
* readline.h (scm_filename_completion_function): Add prototype.
(scm_init_readline): Make this into a prototype.
* readline.c (scm_filename_completion_function): Use SCM_PROC to
declare this, instead of calling scm_make_subr manually.
1998-10-03 08:00:21 +00:00
Jim Blandy
4d3bacdd7d Getting rid of more warnings...
* iselect.c: Test for MISSING_BZERO_DECL, not DECLARE_BZERO; see
today's change to ../configure.in.
* scmsigs.c: Test for MISSING_USLEEP_DECL, not DECLARE_USLEEP.
* scmconfig.h.in: Regenertaded.de.,.__
* stime.c (strptime): Declare this, #ifdef MISSING_STRPTIME_DECL.
(scm_localtime, scm_mktime): Use a const char * to manipulate the
time zone name.
1998-10-03 08:00:05 +00:00
Jim Blandy
41d368d9b7 *** empty log message *** 1998-10-02 16:04:46 +00:00
Jim Blandy
d043e0bbf9 *** empty log message *** 1998-09-30 12:32:45 +00:00
Jim Blandy
94c0b3b855 *** empty log message *** 1998-09-30 10:17:03 +00:00
Jim Blandy
8a04c1a215 Warning fixes from Maciej Stachowiak:
* backtrace.h (scm_display_application, scm_backtrace): Add
prototypes.
* debug.c (scm_m_start_stack): Make this function static.
* fluids.h (scm_fluid_p): Add prototype.
* procprop.c (scm_i_procedure_arity): Make this function static.
* regex-posix.c (scm_regexp_error_msg): Make this function static.
* regex-posix.h (scm_init_regex_posix): Use prototype, not K&R decl.
* root.h (scm_dynamic_root): Add external prototype.
* scmsigs.h (scm_usleep): Add external prototype.
* script.h (scm_init_script): Use prototype, not K&R decl.
* stacks.h (scm_stack_id): Add external prototype.
* symbols.h (scm_sysintern0_no_module_lookup): Add external prototype.
1998-09-30 10:14:59 +00:00
Mark Galassi
dc9f6d6a7d 1998-09-30 Mark Galassi <rosalia@cygnus.com>
* gh.h: took out the definitions of vset and vref, since they are
        replaced by the proper vector routines that correspond to the R4RS
        procedures.
1998-09-30 06:34:09 +00:00
Jim Blandy
61a9ba4862 *** empty log message *** 1998-09-29 19:59:22 +00:00
Jim Blandy
4a1c172e69 * stp.h (stp_create): Doc fix. 1998-09-29 19:58:10 +00:00