From 6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 14 Apr 2008 21:52:55 -0400 Subject: Initial import --- common/.svn/README.txt | 2 ++ common/.svn/empty-file | 0 common/.svn/entries | 31 +++++++++++++++++++ common/.svn/format | 1 + common/.svn/prop-base/Makefile.svn-base | 1 + common/.svn/prop-base/compat.c.svn-base | 1 + common/.svn/props/Makefile.svn-work | 1 + common/.svn/props/compat.c.svn-work | 1 + common/.svn/text-base/Makefile.svn-base | 9 ++++++ common/.svn/text-base/compat.c.svn-base | 55 +++++++++++++++++++++++++++++++++ 10 files changed, 102 insertions(+) create mode 100644 common/.svn/README.txt create mode 100644 common/.svn/empty-file create mode 100644 common/.svn/entries create mode 100644 common/.svn/format create mode 100644 common/.svn/prop-base/Makefile.svn-base create mode 100644 common/.svn/prop-base/compat.c.svn-base create mode 100644 common/.svn/props/Makefile.svn-work create mode 100644 common/.svn/props/compat.c.svn-work create mode 100644 common/.svn/text-base/Makefile.svn-base create mode 100644 common/.svn/text-base/compat.c.svn-base (limited to 'common/.svn') diff --git a/common/.svn/README.txt b/common/.svn/README.txt new file mode 100644 index 0000000..271a8ce --- /dev/null +++ b/common/.svn/README.txt @@ -0,0 +1,2 @@ +This is a Subversion working copy administrative directory. +Visit http://subversion.tigris.org/ for more information. diff --git a/common/.svn/empty-file b/common/.svn/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/common/.svn/entries b/common/.svn/entries new file mode 100644 index 0000000..d8490a1 --- /dev/null +++ b/common/.svn/entries @@ -0,0 +1,31 @@ + + + + + + diff --git a/common/.svn/format b/common/.svn/format new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/common/.svn/format @@ -0,0 +1 @@ +4 diff --git a/common/.svn/prop-base/Makefile.svn-base b/common/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/common/.svn/prop-base/Makefile.svn-base @@ -0,0 +1 @@ +END diff --git a/common/.svn/prop-base/compat.c.svn-base b/common/.svn/prop-base/compat.c.svn-base new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/common/.svn/prop-base/compat.c.svn-base @@ -0,0 +1 @@ +END diff --git a/common/.svn/props/Makefile.svn-work b/common/.svn/props/Makefile.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/common/.svn/props/Makefile.svn-work @@ -0,0 +1 @@ +END diff --git a/common/.svn/props/compat.c.svn-work b/common/.svn/props/compat.c.svn-work new file mode 100644 index 0000000..dce2c1d --- /dev/null +++ b/common/.svn/props/compat.c.svn-work @@ -0,0 +1 @@ +END diff --git a/common/.svn/text-base/Makefile.svn-base b/common/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..48ab187 --- /dev/null +++ b/common/.svn/text-base/Makefile.svn-base @@ -0,0 +1,9 @@ +# $Id: Makefile,v 1.2 2000/03/07 22:55:43 shmit Exp $ + +LIBOBJS= compat.o +libcompat.a: ${LIBOBJS} + ar r $@ ${LIBOBJS} + ranlib $@ + +MKDIR= ../Makefiles +include ${MKDIR}/build diff --git a/common/.svn/text-base/compat.c.svn-base b/common/.svn/text-base/compat.c.svn-base new file mode 100644 index 0000000..98fb1a1 --- /dev/null +++ b/common/.svn/text-base/compat.c.svn-base @@ -0,0 +1,55 @@ +#include "compat.h" + +#include +#include +#include + +RCSID("$Id: compat.c,v 1.1 2000/03/07 22:39:27 shmit Exp $"); + +#if NEED_SETPROCTITLE +void +setproctitle(const char *fmt, ...) +{ +} +#endif + +#if NEED_SNPRINTF +int +snprintf(char *str, size_t size, const char *fmt, ...) +{ + va_list ap; + int rc; + + va_start(ap, fmt); + rc = vsprintf(str, fmt, ap); + va_end(ap); + + return rc; +} +#endif + +#if NEED_MEMCPY +void * +memcpy(void *dst, const void *src, size_t len) +{ + size_t i; + + for (i = 0; i < len; i++) + (char *)dst+i = (char *)src+i; + + return dst; +} +#endif + +#if NEED_MEMSET +void * +memset(void *dst, char c, size_t len) +{ + size_t i; + + for (i = 0; i < len; i++) + (char *)dst+i = (char *)src+i; + + return dst; +} +#endif -- cgit v1.2.3