summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-18 17:50:18 +0000
committerJeremy Allison <jra@samba.org>1998-09-18 17:50:18 +0000
commit184db9266efcbcea13169f99002b32208dc2ec9b (patch)
treeaa12011b6b4d3600130ec6032213f84aa4ca072e /source3/include/includes.h
parent717f538e2efdce231f6b9255be998cc4495337df (diff)
downloadsamba-184db9266efcbcea13169f99002b32208dc2ec9b.tar.gz
samba-184db9266efcbcea13169f99002b32208dc2ec9b.tar.bz2
samba-184db9266efcbcea13169f99002b32208dc2ec9b.zip
configure configure.in include/config.h.in include/includes.h
Fixed bugs in readline autoconf. param/loadparm.c smbd/open.c smbd/oplock.c: Started on kernel oplock code - checking forced by above issue. Should not be used currently. Jeremy. (This used to be commit f939efac9e6c45331b17e3d3aa6bc2235e886c1a)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8c8ee32301..86887cec6d 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -357,7 +357,7 @@
#ifdef LARGE_SMB_OFF_T
#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,(v)&0xFFFFFFFF), SIVAL(p,(ofs)+4,(v)>>32))
#else
-#define SOFF_T(p, ofs, v) SIVAL(p,ofs,v)
+#define SOFF_T(p, ofs, v) (SIVAL(p,ofs,v),SIVAL(p,(ofs)+4,0))
#endif
@@ -611,13 +611,6 @@ union semun {
#define ULTRIX_AUTH 1
#endif
-/* This is the naughty bit. Autoconf should declare these symbols if
- it finds that GNU Readline is installed. */
-
-#define HAVE_LIBREADLINE
-#define HAVE_READLINE_READLINE_H
-#define HAVE_READLINE_HISTORY_H
-
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>