Skip to Content.
Sympa Menu

freetds - RE: asprintf vasprintf

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: asprintf vasprintf
  • Date: Tue, 27 Aug 2002 16:14:02 +0200


>
> On Tue, Aug 27, 2002 at 07:20:04PM +0800, Varley, David(CBorn
> at Alcoa) wrote:
>
> > Is it worth checking out the [v]snprintf code from the
> samba distribution?
> > Those guys seem to do a pretty good job of things.
>
> Can't, without changing the license of FreeTDS to GPL instead
> of LGPL.
> However, the snprintf code Samba uses comes by way of Patrick Powell
> (LPRng author) and Michael Elkins (mutt maintainer). Perhaps it was
> LGPLed at some point in the past.
>
> If all else fails, glibc definitely has an LGPL implementation. :)
>
> Steve Langasek
> postmodern programmer
>

If you read snprintf.c file and search "patrick powell snprintf" on
google.it
you'll see that many implementation of snprintf are maded by Patrick Powell
and above source you'll find a

/*
* Copyright Patrick Powell 1995
* This code is based on code written by Patrick Powell
(papowell AT astart.com)
* It may be used for any purpose as long as this notice remains intact
* on all source code distributions
*/

So, we can use this implementation.
Making a LGPL project so not mean that all code you use must be LGPL.

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page