summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-02 22:27:40 +0000
committerJeremy Allison <jra@samba.org>2001-04-02 22:27:40 +0000
commit9f793948bd34e79be1adecfe41c53cb7ec2636fa (patch)
tree269683f47211e3d95a49d8a84776e7e38fc13a52 /source3/lib
parentf439f72ceec665dbd1eae367eb5d7302d8a3338d (diff)
downloadsamba-9f793948bd34e79be1adecfe41c53cb7ec2636fa.tar.gz
samba-9f793948bd34e79be1adecfe41c53cb7ec2636fa.tar.bz2
samba-9f793948bd34e79be1adecfe41c53cb7ec2636fa.zip
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)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace.c4
1 files changed, 2 insertions, 2 deletions
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 */