Re: string-index defined twice?

2001-11-27 Thread Chris Cramer
On Sun, Nov 25, 2001 at 05:51:23PM -0500, Eric Gillespie, Jr. wrote: > % guile > guile> string-index > # > guile> (string-index "/path/to/blah" #\/ 1) > 5 > guile> (use-modules (ice-9 slib)) > guile> (require 'cgi) > guile> string-index > # > guile> (string-index "/path/to/blah" #\/ 1) > ERROR: In

Re: string-index defined twice?

2001-11-25 Thread Chris Cramer
On Sun, Nov 25, 2001 at 05:51:23PM -0500, Eric Gillespie, Jr. wrote: > guile> (string-index "/path/to/blah" #\/ 1) > ERROR: In expression (string-index "/path/to/blah" #\/ ...): > ERROR: Wrong number of arguments to # > ABORT: (wrong-number-of-args) > > Type "(backtrace)" to get more information

spelling fix in posix.texi

2001-11-25 Thread Chris Cramer
Index: doc/ref/posix.texi === RCS file: /cvsroot/guile/guile/guile-core/doc/ref/posix.texi,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 posix.texi --- doc/ref/posix.texi 2001/11/14 00:02:58 1.1.2.2 +++ doc/ref/posix.texi 2001

Re: Tcl War link

2001-10-08 Thread Chris Cramer
On Mon, Oct 08, 2001 at 08:00:38AM +, Golubev I. N. wrote: > I think that history section should exist, perhaps not in tutorial. I > prefer to know project motivation. After all, why guile is worse than > autoconf, perl or xemacs, which docs have history section. I had a short list of Guile

Re: Tcl War link

2001-10-06 Thread Chris Cramer
On Fri, Oct 05, 2001 at 03:35:30PM +, Golubev I. N. wrote: > in `guile-tut.texi' are > non-existent currently. Maybe it'd be better to take them out entirely, but good replacements would be: http://www.vanderburg.org/Tcl/war/ http://www.vanderbu

Re: reentrant port table stuff

2001-08-30 Thread Chris Cramer
On Mon, Aug 27, 2001 at 12:38:37AM +0200, Marius Vollmer wrote: > Chris Cramer <[EMAIL PROTECTED]> writes: > > I'm using the stable CVS branch of Guile. This program eventually > > segfaults, because open-output-file and close-port (and open-file, etc) > > are not

Re: reentrant port table stuff

2001-08-27 Thread Chris Cramer
On Mon, Aug 27, 2001 at 12:16:41AM +0200, Marius Vollmer wrote: > As to the port table race condition, I frankly don't know why Chris' > fix is effective. SCM_DEFER_INTS should not in fact be able to > inhibit thread switches since scm_ints_disabled is not checked > anywhere (except in take_signa

Re: reentrant port table stuff

2001-08-27 Thread Chris Cramer
On Mon, Aug 27, 2001 at 12:38:37AM +0200, Marius Vollmer wrote: > I can not get this to crash. It just runs, but gets _very_ slow after > about 90 iterations. I don't know why yet. This is very puzzling. It has very consistently segfaulted for me. I guess I'll need to do some more testing.

doesn't compile with ./configure --enable-guile-debug

2001-08-16 Thread Chris Cramer
Here is a patch that fixes it. Index: libguile/gc.c === RCS file: /cvsroot/guile/guile/guile-core/libguile/gc.c,v retrieving revision 1.208.2.1 diff -u -r1.208.2.1 gc.c --- libguile/gc.c 2001/07/09 07:31:04 1.208.2.1 +++ li

Re: reentrant port table stuff

2001-07-28 Thread Chris Cramer
On Sat, Jul 28, 2001 at 02:43:15PM +0200, Marius Vollmer wrote: > Hmm, I don't think this is completely right. I think you can't > perform `extensive' operations like scm_must_malloc when interrupts > are disabled. Could you try to reformulate your patch so that only > `simple' operations are pe

reentrant port table stuff

2001-07-26 Thread Chris Cramer
I'm using the stable CVS branch of Guile. This program eventually segfaults, because open-output-file and close-port (and open-file, etc) are not reentrant: (use-modules (ice-9 threads)) (define (child port) (display "Hello" port) (newline port)) (define (create-child) (begin-thread

grammar fix

2001-06-26 Thread Chris Cramer
This is a diff against CVS Guile; it fixes some incorrect grammar in the documentation. Index: doc/posix.texi === RCS file: /cvs/guile/guile-core/doc/posix.texi,v retrieving revision 1.11 diff -u -r1.11 posix.texi --- doc/posix.texi

scm_symbol_bound_p doc fix

2001-01-05 Thread Chris Cramer
It should be self-explanatory I hope. -- C. Ray C. aka Christopher Cramer [EMAIL PROTECTED] http://www.pyro.net/~crayc/ diff -u -r1.74 symbols.c --- libguile/symbols.c 2000/12/13 11:38:30 1.74 +++ libguile/symbols.c 2001/01/05 20:23:43 @@ -633,7 +633,7 @@ (SCM o, SCM s),