From 9f793948bd34e79be1adecfe41c53cb7ec2636fa Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 2 Apr 2001 22:27:40 +0000 Subject: include/ntdomain.h: rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy. (This used to be commit 887ef3e12dc56b89b2284d42b16a81f03e15110b) --- source3/lib/replace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/replace.c') diff --git a/source3/lib/replace.c b/source3/lib/replace.c index f252b84801..45c302f498 100644 --- a/source3/lib/replace.c +++ b/source3/lib/replace.c @@ -377,8 +377,8 @@ char *rep_inet_ntoa(struct in_addr ip) #endif /* HAVE_STRTOUL */ #ifndef HAVE_SETLINEBUF -void setlinebuf(FILE *stream) + int setlinebuf(FILE *stream) { - setvbuf(stream, (char *)NULL, _IOLBF, 0); + return setvbuf(stream, (char *)NULL, _IOLBF, 0); } #endif /* HAVE_SETLINEBUF */ -- cgit