Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh ksh: Drop support for systems without strcasecmp(3) ...
details: https://anonhg.NetBSD.org/src/rev/fdeb347373c0
branches: trunk
changeset: 354615:fdeb347373c0
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Jun 22 23:27:53 2017 +0000
description:
ksh: Drop support for systems without strcasecmp(3) and strncasecmp(3)
diffstat:
bin/ksh/config.h | 5 +----
bin/ksh/sh.h | 9 ++-------
2 files changed, 3 insertions(+), 11 deletions(-)
diffs (47 lines):
diff -r 039b7fb4769e -r fdeb347373c0 bin/ksh/config.h
--- a/bin/ksh/config.h Thu Jun 22 23:26:17 2017 +0000
+++ b/bin/ksh/config.h Thu Jun 22 23:27:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.23 2017/06/22 23:26:17 kamil Exp $ */
+/* $NetBSD: config.h,v 1.24 2017/06/22 23:27:53 kamil Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -244,9 +244,6 @@
/* Define if you have the sigsetjmp function. */
#define HAVE_SIGSETJMP 1
-/* Define if you have the strcasecmp function. */
-#define HAVE_STRCASECMP 1
-
/* Define if you have the strerror function. */
#define HAVE_STRERROR 1
diff -r 039b7fb4769e -r fdeb347373c0 bin/ksh/sh.h
--- a/bin/ksh/sh.h Thu Jun 22 23:26:17 2017 +0000
+++ b/bin/ksh/sh.h Thu Jun 22 23:27:53 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: sh.h,v 1.17 2017/06/22 23:26:17 kamil Exp $ */
+/* $NetBSD: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
/*
* Public Domain Bourne/Korn shell
*/
-/* $Id: sh.h,v 1.17 2017/06/22 23:26:17 kamil Exp $ */
+/* $Id: sh.h,v 1.18 2017/06/22 23:27:53 kamil Exp $ */
#include "config.h" /* system and option configuration info */
@@ -24,11 +24,6 @@
#include <unistd.h>
#include <string.h>
-#ifndef HAVE_STRCASECMP
-int strcasecmp ARGS((const char *s1, const char *s2));
-int strncasecmp ARGS((const char *s1, const char *s2, int n));
-#endif /* HAVE_STRCASECMP */
-
#ifdef HAVE_MEMORY_H
# include <memory.h>
#endif
Home |
Main Index |
Thread Index |
Old Index