summaryrefslogtreecommitdiff
path: root/missing.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-12-08 14:17:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch)
tree57bf15576109b53406796c66b29d5e11d9fd99c0 /missing.c
parent4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff)
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline.
Diffstat (limited to 'missing.c')
-rw-r--r--missing.c67
1 files changed, 0 insertions, 67 deletions
diff --git a/missing.c b/missing.c
deleted file mode 100644
index cccadb494f..0000000000
--- a/missing.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Do all necessary includes here, so that we don't have to worry about
- * overlapping includes in the files in missing.d.
- */
-
-#include <stdio.h>
-#include <ctype.h>
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/types.h>
-
-#include "ruby.h"
-
-#ifndef __STDC__
-#define const
-#endif /* !__STDC__ */
-
-#ifdef STDC_HEADERS
-#include <string.h>
-#endif
-
-#ifndef HAVE_MEMMOVE
-#include "missing/memmove.c"
-#endif
-
-#ifndef HAVE_STRERROR
-#include "missing/strerror.c"
-#endif
-
-#ifndef HAVE_STRTOUL
-#include "missing/strtoul.c"
-#endif
-
-#ifndef HAVE_STRFTIME
-#include "missing/strftime.c"
-#endif
-
-#ifndef HAVE_STRSTR
-#include "missing/strstr.c"
-#endif
-
-#ifndef HAVE_GETOPT_LONG
-#include "missing/getopt.h"
-#include "missing/getopt.c"
-#include "missing/getopt1.c"
-#endif
-
-#ifndef HAVE_MKDIR
-#include "missing/mkdir.c"
-#endif
-
-#ifndef HAVE_STRDUP
-char *
-strdup(str)
- char *str;
-{
- extern char *xmalloc();
- char *tmp;
- int len = strlen(str) + 1;
-
- tmp = xmalloc(len);
- if (tmp == NULL) return NULL;
- memcpy(tmp, str, len);
-
- return tmp;
-}
-#endif