git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ATRN customer
[exim.git]
/
src
/
OS
/
os.c-SunOS5
diff --git
a/src/OS/os.c-SunOS5
b/src/OS/os.c-SunOS5
index 69305e2cc72459296fabe22bffd924901b55f47f..ec4bb8d42610685f0aa3c11ba54e4e5409c28efb 100644
(file)
--- a/
src/OS/os.c-SunOS5
+++ b/
src/OS/os.c-SunOS5
@@
-3,7
+3,8
@@
*************************************************/
/* Copyright (c) University of Cambridge 2016 */
*************************************************/
/* Copyright (c) University of Cambridge 2016 */
-/* Copyright (c) Jeremy Harris 2018 */
+/* Copyright (c) Jeremy Harris 2016 */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* See the file NOTICE for conditions of use and distribution. */
/* Solaris-specific code. This is concatenated onto the generic
/* See the file NOTICE for conditions of use and distribution. */
/* Solaris-specific code. This is concatenated onto the generic
@@
-13,15
+14,4
@@
src/os.c file. */
# include "setenv.c"
#endif
# include "setenv.c"
#endif
-/* This is missing in Solaris 10, present in Solaris 11.
-A feature-test would be good. */
-
-char *
-strndup(const char * s, size_t n)
-{
-char * dest;
-if (!(dest = malloc(n))) return NULL;
-return strncpy(dest, s, n);
-}
-
/* End of os.c-SunOS5 */
/* End of os.c-SunOS5 */