[389-devel] Please review: Bug 537466 - nsslapd-distribution-plugin should not require plugin name to begin with "lib"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=537466

    Fix Description: We use the function PL_GetLibraryName from NSPR to 
get the
    platform specific DLL/shared lib filename suffix.  Unfortunately, 
this funct
    also prepends the string "lib" to the given name if the given file 
has no
    suffix.  If the given name already has the correct suffix, it does 
not prepe
    the "lib" to the name.  get_plugin_name() should look for the original
    library name in the string returned by PL_GetLibraryName.  If it is 
there, a
    has something before it in the string, see if it is "/lib" - if so, 
remove t
    extraneous "lib" string.  If "/lib" is not there, then just pass the 
string
    through as is.
    To summarize:
    /full/path/to/name.so -> /full/path/to/name.so - error if 
/full/path/to/name
    name -> /default/plugin/path/libname.so -> /default/plugin/path/name.so
    name.so -> /default/plugin/path/name.so
    Platforms tested: RHEL5 x86_64
    Flag Day: no
    Doc impact: no
https://bugzilla.redhat.com/attachment.cgi?id=386889&action=edit

https://bugzilla.redhat.com/attachment.cgi?id=386889&action=diff
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux