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

Re: NEW: databases/tinycdb



Am Samstag, den 23.04.2005, 23:22 +0200 schrieb Marcus Glocker: 
> On Apr 23, 2005, at 22:01, Christian Rueger wrote:
> 
> > tinycdb is a small, fast and reliable utility set and subroutine
> > library for creating and reading constant databases.
> >
> > tested on i386 and sparc64
> >
> > Need some help to replace strcpy/strcat in cdb.c
> >
> > Please try and comment.
> >
> > Christian
> 
> Hi,
> 
> I've attached the port with the patch for the strcpy/strcat in cdb.c.
> As the memory is allocated with the exact string size first, 
> strcpy/strcat
> wasn't critical in this case, but we should use strlcpy/strlcat anyway,
> also to avoid any gcc warnings in the future.

Thanks for the patch, Marcus.
I have update the port with some privat feedback form Marc Balmer:
- fix distinfo, lists different versions
- better wording for the COMMENT

tinycdb author is Michael Tokarev
licence Public domain

Christian

-- 
[ christian rueger ]
[ cr_(_at_)_rueger-net_(_dot_)_de ]
[ cr.rueger-net.de ]

Attachment: tinycdb.tgz
Description: application/compressed-tar


Visit your host, monkey.org