diff options
author | jbj <devnull@localhost> | 2004-10-15 23:22:46 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-15 23:22:46 +0000 |
commit | 2dc699bfe049b9319ea3719f604d25940ff52004 (patch) | |
tree | 3a712c67a96bb58edf477fa0945f5843f3077f67 /db/clib | |
parent | 85a380eeaf8472a4f4235e7f7b2e32d5f9bcaa24 (diff) | |
download | librpm-tizen-2dc699bfe049b9319ea3719f604d25940ff52004.tar.gz librpm-tizen-2dc699bfe049b9319ea3719f604d25940ff52004.tar.bz2 librpm-tizen-2dc699bfe049b9319ea3719f604d25940ff52004.zip |
Out with the old ...
CVS patchset: 7470
CVS date: 2004/10/15 23:22:46
Diffstat (limited to 'db/clib')
-rw-r--r-- | db/clib/vsnprintf.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/db/clib/vsnprintf.c b/db/clib/vsnprintf.c deleted file mode 100644 index 2bce3b762..000000000 --- a/db/clib/vsnprintf.c +++ /dev/null @@ -1,47 +0,0 @@ -/*- - * See the file LICENSE for redistribution information. - * - * Copyright (c) 1996-2003 - * Sleepycat Software. All rights reserved. - */ - -#include "db_config.h" - -#ifndef lint -static const char revid[] = "$Id: vsnprintf.c,v 11.8 2003/01/08 04:06:46 bostic Exp $"; -#endif /* not lint */ - -#ifndef NO_SYSTEM_INCLUDES -#include <sys/types.h> - -#include <stdio.h> -#endif - -#include "db_int.h" - -/* - * vsnprintf -- - * Bounded version of vsprintf. - * - * PUBLIC: #ifndef HAVE_VSNPRINTF - * PUBLIC: int vsnprintf __P((char *, size_t, const char *, va_list)); - * PUBLIC: #endif - */ -#ifndef HAVE_VSNPRINTF -int -vsnprintf(str, n, fmt, ap) - char *str; - size_t n; - const char *fmt; - va_list ap; -{ - COMPQUIET(n, 0); - -#ifdef SPRINTF_RET_CHARPNT - (void)vsprintf(str, fmt, ap); - return (strlen(str)); -#else - return (vsprintf(str, fmt, ap)); -#endif -} -#endif |