On Mon, Aug 18, 2008 at 11:58 PM, Huie-Ying Lee <[EMAIL PROTECTED]> wrote:
> Thought it a little bit more on this ...
> Although my changes work fine, it use more memory than it needs.
> Adding an implementation of strndup()  on a platform without it is a better
> solution.
>
> Can we add this into the source code  with  "#ifdef " ?

I added strndup in revision 326 [1].
Please test and report any problem.

I forgot to add in the subversion commit message:
The code comes from ftp://ftp.sunfreeware.com/ pub/ freeware/ SOURCES/
lsh-2.0.tar.gz/ lsh-2.0/ src/ argp/

I wanted to use a version from a recent tar or from GNU libc but they
are now using LGPL version 3+ and pam_pkcs11 is LGPL version 2.1+
(incompatible with LGPL 3+)

Bye

[1] http://www.opensc-project.org/pam_pkcs11/changeset/326

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to