This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13623] New: provide API to for standalone dynamic string tokens (DST) expansion


http://sourceware.org/bugzilla/show_bug.cgi?id=13623

             Bug #: 13623
           Summary: provide API to for standalone dynamic string tokens
                    (DST) expansion
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: sbrabec@suse.cz
    Classification: Unclassified


DST expansion is used for evaluation of dlopen() path. But the expansion is
private to the libdl and cannot be evaluated for external applications.

It would make sense to provide public API call to expand path:

- Modules directory specification can use $LIB and application would be able to
get a list of modules.

- Application would be able to stat() the module with $LIB in the path to check
whether such file exists, without actual loading them.

Example of problem:
https://bugzilla.gnome.org/show_bug.cgi?id=153848#c8

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]