[Sbcl-devel] patches: non-ascii c-string & pathnames and other

3 views
Skip to first unread message

Yaroslav Kavenchuk

unread,
Aug 25, 2006, 2:00:29 PM8/25/06
to SBCL
Last version for non-ascii c-string's & pathnames (join in one patch)
and couple derivative pathces: some changes for win32 and some offers
for tests (for larger compatibility with win32).

non-ascii & pathnames patch adapt for linux (need test on other platforms).

Observations, offers and help are welcome!

--
WBR, Yaroslav Kavenchuk.

patches.tar.bz2

Juho Snellman

unread,
Sep 1, 2006, 4:44:14 PM9/1/06
to Yaroslav Kavenchuk, SBCL
Yaroslav Kavenchuk <kave...@tut.by> writes:
> Last version for non-ascii c-string's & pathnames (join in one patch)

Thanks, that looks great! (And sorry for keeping you waiting on this
for so long).

I discussed this with Christophe on #lisp earlier today, and came to
the conclusion that:

* c-strings with external-formats should also be supported on non-unicode
builds (as is done for streams)
* it should be possible to specify the element-type of the Lisp
string that results from naturalizing a foreign string, so that it's
still possible to get the same behaviour as with the old
definition of c-string

The following patch does this, cleans up the code a bit, and adds some
tests and documentation.

<http://jsnell.iki.fi/tmp/alien-external-format.diff>

Assuming nobody has problems with the this, I'll commit it next week.

> and couple derivative pathces: some changes for win32 and some offers
> for tests (for larger compatibility with win32).
>
> non-ascii & pathnames patch adapt for linux (need test on other platforms).

(I'll let somebody with access to a Windows machine look at these).

--
Juho Snellman


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

Yaroslav Kavenchuk

unread,
Sep 1, 2006, 9:43:46 AM9/1/06
to SBCL
Juho Snellman wrote:
> Assuming nobody has problems with the this, I'll commit it next week.

Many-many thanks!
Do not forget about changes from 0.9.16.2 (they are not considered).

I Look forward! :)

--
WBR, Yaroslav Kavenchuk.

Yaroslav Kavenchuk

unread,
Sep 7, 2006, 6:07:27 AM9/7/06
to Yaroslav Kavenchuk, SBCL
I wrote:
> Do not forget about changes from 0.9.16.2 (they are not considered).

And now I see:

unix-pathname.lisp
308 (typep pathname-name 'simple-base-string)

win32-pathname.lisp
336 (typep pathname-name 'simple-base-string)

Please, change 'simple-base-string to 'simple-string in both files.

Thanks!

Reply all
Reply to author
Forward
0 new messages