Re: crash in guile-sqlite3

2012-05-01 Thread Joonas Sarajärvi
2012/4/29 Sunjoong Lee : > Hi, Joonas; > > Yesterday, David said simple solution of yours. I think I found the case > of segfault. > Hello, Sorry for having been so inactive in this thread, despite starting it. Other life activities pretty much took the whole weekend. However, thank you for taki

Re: Problem with guile on Dragora

2012-05-01 Thread Sunjoong Lee
Hi, Germán; Just curious what locale do you use? You may know that from output of the command "locale". 2012/4/30 Germán A. Arias > > Hi, I'm testing guile 2.0.5 in a new system (www.dragora.org). The > compilation seems OK. But when I run guile I get: > > bash-4.2$ guile > Backtrace: > In ice-9

Re: crash in guile-sqlite3

2012-05-01 Thread Joonas Sarajärvi
2012/5/1 Joonas Sarajärvi : > However, thank you for taking a look at the problem. The change you > placed at > git://gitorious.org/~sunjoong/guile-sqlite3/sunjoongs-guile-sqlite3.git > seems to completely resolve the crash for me. > > -Joonas Replying to myself, I now noticed that the change wi

Re: crash in guile-sqlite3

2012-05-01 Thread Daniel Krueger
Hi, I just wanted to note that it should work just to use (make-pointer #xff). - Daniel On Tue, May 1, 2012 at 5:01 PM, Joonas Sarajärvi wrote: > 2012/5/1 Joonas Sarajärvi : > >> However, thank you for taking a look at the problem. The change you >> placed at >> git://gitorious.org/~sunjoong/g

Re: crash in guile-sqlite3

2012-05-01 Thread Daniel Krueger
Oh, I'm sorry, I missed the fact that all bits in the pointer would be set. Correct would be this: (make-pointer (bit-extract (lognot 0) 0 (* 8 (sizeof '* So, okay, this may not be a better solution :D - Daniel On Tue, May 1, 2012 at 5:05 PM, Daniel Krueger wrote: > Hi, > > I just wanted t

Working http-get example and still unsolved problem

2012-05-01 Thread Sunjoong Lee
Hello, It's 1st day of May, a new month; I thought it would be better to summarize some issues of http-get. This post include 3 examples; working, half working and not working because of implementation of declare-uri-header! Example 1 - working (use-modules (srfi srfi-8) ((web uri)

Re: crash in guile-sqlite3

2012-05-01 Thread Sunjoong Lee
Hi, Daniel and Joonas; 2012/5/1 Daniel Krueger > > (make-pointer (bit-extract (lognot 0) 0 (* 8 (sizeof '* > Good and thank you. I made a new patch based on that. > On Tue, May 1, 2012 at 5:01 PM, Joonas Sarajärvi wrote: > >> Replying to myself, I now noticed that the change will not work

Re: Problem with guile on Dragora

2012-05-01 Thread Germán A. Arias
Hi, El Tue, 1 May 2012 23:17:36 +0900 Sunjoong Lee escribió: > Hi, Germán; > > Just curious what locale do you use? You may know that from output of > the command "locale". the output of locale is: bash-4.2$ locale LANG=es_GT LC_CTYPE="es_GT" LC_NUMERIC="es_GT" LC_TIME="es_GT" LC_COLLATE="es_G

Re: Problem with guile on Dragora

2012-05-01 Thread Germán A. Arias
El Wed, 2 May 2012 00:36:31 -0600 "Germán A. Arias" escribió: > Hi, > > the output of locale is: > > bash-4.2$ locale > LANG=es_GT > LC_CTYPE="es_GT" > LC_NUMERIC="es_GT" > LC_TIME="es_GT" > LC_COLLATE="es_GT" > LC_MONETARY="es_GT" > LC_MESSAGES="es_GT" > LC_PAPER="es_GT" > LC_NAME="es_GT" > LC_

Re: I'm looking for a method of converting a string's character encoding

2012-05-01 Thread Daniel Hartwig
On 28 April 2012 05:13, Sunjoong Lee wrote: > > Background; > #:decode-body? keyword of http-get seems not to work properly; I should > set #:decode-body? to false value and decode the contents body string > manually. If a web page's charset be utf-8, there be no problem. If not, a > problem occur

Re: crash in guile-sqlite3

2012-05-01 Thread Joonas Sarajärvi
Hello, 2012/5/1 Sunjoong Lee : > Joonas, test my new one on your 64-bit computer and/or make a merge request > of yours unless it work. > I tried it now, and the version in commit c55adf43a8c0e59706f40e65a07d457d60e55a83 seems to work fine in computers of different sizes of pointer widths. -Joo