Re: [Chicken-users] openssl egg segfauls: ##sys#expand-home-path
I see, that sounds sensible. Could you apply the no-home-path-expansion patch and fix it upstream, so that openssl will work on 4.9.01? K. On Tue, May 19, 2015 at 3:23 PM, Thomas Chust ch...@web.de wrote: On 2015-05-19 13:35, Kristian Lein-Mathisen wrote: [...] It's been way too long! I'm running CHICKEN 4.9.0.1 and the openssl-egg segfaults at ssl-load-certificate-chain! and friends. I have two patches/suggestions: - remove home path expansion - use the pathname-expand egg [...] Hello, the only reason this functionality was included in the first place, was that CHICKEN's standard I/O procedures used to perform automatic home directory expansion, so I wanted the OpenSSL egg to behave similarly. If I'm not mistaken, the standard I/O procedures no longer do home directory expansion by default. I think it would make sense to also remove this functionality from the OpenSSL egg. If needed, one could always make use of the pathname-expand egg explicitly, which would make the intent clearer. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] openssl egg segfauls: ##sys#expand-home-path
Obs! I'm on Version 4.9.1 (rev 30bb2f2), sorry for the confusion Thomas! Thanks for getting it in there. I wonder what might break with this upcoming change. K. On Thu, May 21, 2015 at 6:01 PM, Thomas Chust ch...@web.de wrote: On 2015-05-21 09:18, Kristian Lein-Mathisen wrote: I see, that sounds sensible. Could you apply the no-home-path-expansion patch and fix it upstream, so that openssl will work on 4.9.01? [...] Hello, I just checked and apparently the home path expansion stuff is still in place in released versions of chicken: My installation of CHICKEN reports Version 4.9.0.1 (stability/4.9.0) (rev 8b3189b) and it has ##sys#expand-home-path and does automatic home path expansion for standard I/O procedures such as open-input-file :-/ There is commit 4f91e654f04254ba1039e327460e643fefbf5e36 in CHICKEN's Git repository that gets rid of this cruft, but it's not included in any released source tarball, as far as I can tell. I have removed the uses of ##sys#expand-home-path from the trunk version of the OpenSSL egg, but I think it doesn't make sense to tag a release at the moment. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Goettingen CHICKEN Meeting (5th - 7th of June)
Hello, On 18 May 2015 11:50 CEST, felix.winkelm...@bevuta.com wrote: If you are looking for a cheaper place, consider: http://appartement-goettingen.de/ http://www.deutsche-pensionen.de/pension-goettingen/verzeichnis-3z.html You won't get breakfast, but the prices are very attractive. another good value option is http://www.graefinhotelgarni.de/ which is where Peter and I will be staying. See you in Göttingen! Moritz ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] whitespace in sxml
Hello, When using ssax:xml-sxml, I've been having the same problem with lost whitespace as is described here: http://sourceforge.net/p/ssax/mailman/message/28005086/ However, I can't get the solution given there to work: (define ssax:reverse-collect-str-drop-ws ssax:reverse-collect-str) Is this possible in Chicken? Or is there another way to redefine xml-sxml without taking everything apart? Many thanks, Nathaniel ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] whitespace in sxml
Hi, Nathaniel-- Have you looked at the ssax source code? It looks like it would be quite easy to make the change you need (though I haven't tried it). Of course, that doesn't help if you are trying to distribute an egg to the public that depends on ssax. Also, I see from a comment in SSAX.scm that the authors are aware that the whitespace-stripping behavior is non-conformant. Personally, I think it is a poor choice on their part (or at least, as someone suggested in the discussion you referenced, it should be easy to modify that behavior), but I suppose they have their reasons. -- Matt On Thu, May 21, 2015 at 8:35 AM, Nathaniel Rudavsky-Brody nathan...@studio.cm wrote: Hello, When using ssax:xml-sxml, I've been having the same problem with lost whitespace as is described here: http://sourceforge.net/p/ssax/mailman/message/28005086/ However, I can't get the solution given there to work: (define ssax:reverse-collect-str-drop-ws ssax:reverse-collect-str) Is this possible in Chicken? Or is there another way to redefine xml-sxml without taking everything apart? Many thanks, Nathaniel ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] whitespace in sxml
Hi, Nathaniel-- Unfortunately, I do not have a solution for this. However, I was curious, because I saw that Oleg stated the white-space removing behavior was deliberate. That seemed questionable to me, so I referred to the XML spec [ http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-white-space], and read: An XML processor *MUST* always pass all characters in a document that are not markup through to the application. [XML 1.0, BTW, says essentially the same thing] Now, there is some ambiguity as to what is a processor and what is an application, but I would say ssax:xml-sxml is an XML processor, in which case its behavior is non-conformant, and you would be entitled to call this issue a bug. Sorry I have nothing more practical to contribute. On Thu, May 21, 2015 at 8:35 AM, Nathaniel Rudavsky-Brody nathan...@studio.cm wrote: Hello, When using ssax:xml-sxml, I've been having the same problem with lost whitespace as is described here: http://sourceforge.net/p/ssax/mailman/message/28005086/ However, I can't get the solution given there to work: (define ssax:reverse-collect-str-drop-ws ssax:reverse-collect-str) Is this possible in Chicken? Or is there another way to redefine xml-sxml without taking everything apart? Many thanks, Nathaniel ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] openssl egg segfauls: ##sys#expand-home-path
On 2015-05-21 09:18, Kristian Lein-Mathisen wrote: I see, that sounds sensible. Could you apply the no-home-path-expansion patch and fix it upstream, so that openssl will work on 4.9.01? [...] Hello, I just checked and apparently the home path expansion stuff is still in place in released versions of chicken: My installation of CHICKEN reports Version 4.9.0.1 (stability/4.9.0) (rev 8b3189b) and it has ##sys#expand-home-path and does automatic home path expansion for standard I/O procedures such as open-input-file :-/ There is commit 4f91e654f04254ba1039e327460e643fefbf5e36 in CHICKEN's Git repository that gets rid of this cruft, but it's not included in any released source tarball, as far as I can tell. I have removed the uses of ##sys#expand-home-path from the trunk version of the OpenSSL egg, but I think it doesn't make sense to tag a release at the moment. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] whitespace in sxml
Hi Matt, Thanks for the ideas. xml-sxml in Guile has a trim-whitespace option, but I don't know if it changes behavior for whitespace-only nodes. I was (am?) hoping to find a way to do the described customization in chicken without having to dive into the ssax code, since I imagine that would break a lot of other things (differences between the egg and the original?). Nathaniel On Thu, May 21, 2015 at 5:50 PM, Matt Gushee m...@gushee.net wrote: Hi, Nathaniel-- Have you looked at the ssax source code? It looks like it would be quite easy to make the change you need (though I haven't tried it). Of course, that doesn't help if you are trying to distribute an egg to the public that depends on ssax. Also, I see from a comment in SSAX.scm that the authors are aware that the whitespace-stripping behavior is non-conformant. Personally, I think it is a poor choice on their part (or at least, as someone suggested in the discussion you referenced, it should be easy to modify that behavior), but I suppose they have their reasons. -- Matt On Thu, May 21, 2015 at 8:35 AM, Nathaniel Rudavsky-Brody nathan...@studio.cm wrote: Hello, When using ssax:xml-sxml, I've been having the same problem with lost whitespace as is described here: http://sourceforge.net/p/ssax/mailman/message/28005086/ However, I can't get the solution given there to work: (define ssax:reverse-collect-str-drop-ws ssax:reverse-collect-str) Is this possible in Chicken? Or is there another way to redefine xml-sxml without taking everything apart? Many thanks, Nathaniel ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users -- Caractères mobiles Livre numérique, papier et web http://studio.cm Tél +32 (0) 2 213 86 45 Gsm +32 (0) 485 136 458 ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users