Module Name: src
Committed By: kamil
Date: Thu Jun 22 23:29:35 UTC 2017
Modified Files:
src/bin/ksh: config.h sh.h
Log Message:
ksh: Drop usage of SVID header <memory.h>, it's legacy standard
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/bin/ksh/config.h
cvs rdiff -u -r1.18 -r1.19 src/bin/ksh/sh.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ksh/config.h
diff -u src/bin/ksh/config.h:1.24 src/bin/ksh/config.h:1.25
--- src/bin/ksh/config.h:1.24 Thu Jun 22 23:27:53 2017
+++ src/bin/ksh/config.h Thu Jun 22 23:29:35 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.24 2017/06/22 23:27:53 kamil Exp $ */
+/* $NetBSD: config.h,v 1.25 2017/06/22 23:29:35 kamil Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -274,9 +274,6 @@
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
-/* Define if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
/* Define if you have the <ndir.h> header file. */
/* #undef HAVE_NDIR_H */
Index: src/bin/ksh/sh.h
diff -u src/bin/ksh/sh.h:1.18 src/bin/ksh/sh.h:1.19
--- src/bin/ksh/sh.h:1.18 Thu Jun 22 23:27:53 2017
+++ src/bin/ksh/sh.h Thu Jun 22 23:29:35 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
+/* $NetBSD: sh.h,v 1.19 2017/06/22 23:29:35 kamil Exp $ */
/*
* Public Domain Bourne/Korn shell
*/
-/* $Id: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
+/* $Id: sh.h,v 1.19 2017/06/22 23:29:35 kamil Exp $ */
#include "config.h" /* system and option configuration info */
@@ -24,9 +24,6 @@
#include <unistd.h>
#include <string.h>
-#ifdef HAVE_MEMORY_H
-# include <memory.h>
-#endif
#ifndef HAVE_MEMSET
# define memcpy(d, s, n) bcopy(s, d, n)
# define memcmp(s1, s2, n) bcmp(s1, s2, n)