git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Two-phase queue run perf: parallel processes for phase one
[users/jgh/exim.git]
/
src
/
OS
/
os.c-SunOS5
diff --git
a/src/OS/os.c-SunOS5
b/src/OS/os.c-SunOS5
index 8ad8c9380c360c4fccf9cff8355e9e0495da8763..16248695812c452bdfe999ee637359be67e792b9 100644
(file)
--- a/
src/OS/os.c-SunOS5
+++ b/
src/OS/os.c-SunOS5
@@
-3,7
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 2016 */
*************************************************/
/* Copyright (c) University of Cambridge 2016 */
-/* Copyright (c) Jeremy Harris 201
8
*/
+/* Copyright (c) Jeremy Harris 201
6
*/
/* 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
+13,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, unsigned long n)
-{
-char * dest;
-if (!(dest = malloc(n))) return NULL;
-return strncpy(dest, s, n);
-}
-
/* End of os.c-SunOS5 */
/* End of os.c-SunOS5 */