Rod Evans <[EMAIL PROTECTED]> wrote:

> Presently, no.  But it seems like a mechanism to allow ':' within
> a path is now desirable.
>
> I've a couple of thoughts.   First, if you wish to allow ':' within
> a dlopen() path, would you also want to allow this character in
> a RUNPATH, LD_LIBRARY_PATH, or some other ld.so.1 processed path?
> We could invent an escape character that can be embedded in a path.
> This provides generic flexibility, but in the case of dlopen()
> might require the user to translate a string (read from some config
> file?) to include the escape character.
>
> Or, we could allow dlopen() path processing to differ/be-more-flexible
> than other path processing.  We could force a dlopen() string to be
> used as-is.  This changes todays behavior, and would break the example
> I had cited below.  But, would anyone care?   Or we could be explicit
> in regards our new requirement:
>
>       dlopen("foo:bar", RTLD_LAZY | RTLD_FULLPATH)
>
> and use a new token to define a path should be used as is.

let us look at the standard....


        The file argument is used to construct a pathname to the object file. 
If 
        file contains a slash character, the file argument is used as the 
pathname
        for the file. Otherwise, file is used in an implementation-defined 
manner
        to yield a pathname.


See http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to