View | Details | Raw Unified | Return to bug 544
Collapse All | Expand All

(-)acconfig.h (+3 lines)
Lines 377-382 Link Here
377
/* Pushing STREAMS modules incorrectly acquires a controlling TTY */
377
/* Pushing STREAMS modules incorrectly acquires a controlling TTY */
378
#undef STREAMS_PUSH_ACQUIRES_CTTY
378
#undef STREAMS_PUSH_ACQUIRES_CTTY
379
379
380
/* Define if cmsg_type is not passed correctly */
381
#undef BROKEN_CMSG_TYPE
382
380
@BOTTOM@
383
@BOTTOM@
381
384
382
/* ******************* Shouldn't need to edit below this line ************** */
385
/* ******************* Shouldn't need to edit below this line ************** */
(-)configure.ac (+10 lines)
Lines 184-189 Link Here
184
	AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_CLOBBER_ARGV)
184
	AC_DEFINE(SETPROCTITLE_STRATEGY,PS_USE_CLOBBER_ARGV)
185
	AC_DEFINE(SETPROCTITLE_PS_PADDING, '\0')
185
	AC_DEFINE(SETPROCTITLE_PS_PADDING, '\0')
186
	inet6_default_4in6=yes
186
	inet6_default_4in6=yes
187
	AC_MSG_CHECKING(for broken cmsg_type)
188
	case `uname -r` in
189
	2.0.*)
190
		AC_MSG_RESULT(yes)
191
		AC_DEFINE(BROKEN_CMSG_TYPE)
192
		;;
193
	*)
194
		AC_MSG_RESULT(no)
195
		;;
196
	esac
187
	;;
197
	;;
188
mips-sony-bsd|mips-sony-newsos4)
198
mips-sony-bsd|mips-sony-newsos4)
189
	AC_DEFINE(HAVE_NEWS4)
199
	AC_DEFINE(HAVE_NEWS4)
(-)monitor_fdpass.c (+2 lines)
Lines 113-121 Link Here
113
		fatal("%s: no fd", __func__);
113
		fatal("%s: no fd", __func__);
114
#else
114
#else
115
	cmsg = CMSG_FIRSTHDR(&msg);
115
	cmsg = CMSG_FIRSTHDR(&msg);
116
#ifndef BROKEN_CMSG_TYPE
116
	if (cmsg->cmsg_type != SCM_RIGHTS)
117
	if (cmsg->cmsg_type != SCM_RIGHTS)
117
		fatal("%s: expected type %d got %d", __func__,
118
		fatal("%s: expected type %d got %d", __func__,
118
		    SCM_RIGHTS, cmsg->cmsg_type);
119
		    SCM_RIGHTS, cmsg->cmsg_type);
120
#endif
119
	fd = (*(int *)CMSG_DATA(cmsg));
121
	fd = (*(int *)CMSG_DATA(cmsg));
120
#endif
122
#endif
121
	return fd;
123
	return fd;

Return to bug 544