summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@emoryu2.arpa>1988-01-25 20:53:22 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-25 20:53:22 +0000
commitbe04251a8346b991e162b668d84d5cf1aa6e8501 (patch)
tree80656dbd27cfdb0badeb9791c39f564c81c8b5b5
parentfdf95cbbc2acfbfc754558cc084039bd434df8d8 (diff)
downloadperl-be04251a8346b991e162b668d84d5cf1aa6e8501.tar.gz
perl 1.0 patch 5: a2p didn't make use of the config.h generated by Configure
The a2p program used index() and bcopy(), both of do not exist everywhere. Since Configure was already figuring out about those functions, it is fairly trivial to get a2p to make use of the info.
-rw-r--r--patchlevel.h2
-rw-r--r--x2p/a2p.h13
2 files changed, 13 insertions, 2 deletions
diff --git a/patchlevel.h b/patchlevel.h
index 82d4f629a7..51d80f3b8e 100644
--- a/patchlevel.h
+++ b/patchlevel.h
@@ -1 +1 @@
-#define PATCHLEVEL 4
+#define PATCHLEVEL 5
diff --git a/x2p/a2p.h b/x2p/a2p.h
index 35f8bbeb1f..eede53d27f 100644
--- a/x2p/a2p.h
+++ b/x2p/a2p.h
@@ -1,11 +1,22 @@
-/* $Header: a2p.h,v 1.0 87/12/18 13:06:58 root Exp $
+/* $Header: a2p.h,v 1.0.1.1 88/01/26 09:52:30 root Exp $
*
* $Log: a2p.h,v $
+ * Revision 1.0.1.1 88/01/26 09:52:30 root
+ * patch 5: a2p didn't use config.h.
+ *
* Revision 1.0 87/12/18 13:06:58 root
* Initial revision
*
*/
+#define VOIDUSED 1
+#include "../config.h"
+
+#ifndef BCOPY
+# define bcopy(s1,s2,l) memcpy(s2,s1,l);
+# define bzero(s,l) memset(s,0,l);
+#endif
+
#include "handy.h"
#define Nullop 0