1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

20 Commits

Author SHA1 Message Date
Andrew Bartlett
df4e6c9bcc As per the 'OK' at CIFS2002, only use the readline headers (and this crasy
#ifdef mess...) in readline.c, we don't need or use them in the rest of Samba.

(This OK was of course conditional on 'if you break it, you better fix it...')

Andrew Bartlett
(This used to be commit 55ee289f587f107fa03c5f889491fdaab101df2d)
2002-09-06 23:10:28 +00:00
Jeremy Allison
69adbb0ce3 Fix from Michael Steffens <michael_steffens@hp.com> to make signal
processing work correctly in winbindd. This is a really good patch
that gives full select semantics to the Samba modified select.
Jeremy.
(This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
2002-01-31 23:26:12 +00:00
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Jeremy Allison
74462c0c17 Readline has problems on non tty fd's. Use readline replacement to in cases
where stdin is !isatty to allow stripts to work.
Jeremy.
(This used to be commit 997d6687fc67e98fe561775b522edfaa00f5ee5f)
2002-01-19 22:54:13 +00:00
Martin Pool
94ad8127f5 Fix typo.
(This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)
2001-11-19 07:39:35 +00:00
Martin Pool
b99209cce4 Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the moment
this is only to get the cast right, but it might help with other parts
of the API that changed later.
(This used to be commit b792c9317ab62fe407de34ed811cc883a7652cc4)
2001-11-19 04:18:45 +00:00
Tim Potter
d173bf7049 Added comment about why not to cast the assignment of
rl_attempted_completion_function to rl_completion_function_t.
(This used to be commit dfaafcd6221412613f9e4eccdaaa2e84253def81)
2001-11-19 03:44:19 +00:00
Martin Pool
4ea31fb675 Oops, Tim says rl_completion_func_t doesn't exist in all versions of
readline.
(This used to be commit c4b44cfc3f15f9e85a36981867e534792ccb724e)
2001-11-19 03:34:45 +00:00
Martin Pool
eb2bf006ac Quieten compiler warnings about a callback function prototype that has
changed in recent versions of Readline.
(This used to be commit d0a0d27caa04029a814d942e35fb5382bb9a492c)
2001-11-19 03:11:28 +00:00
Simo Sorce
52341e94a8 initial support to error report in smbclient, useful when using smbclient -c in scripts.
Thanks to Claudio Cicali aka FleXer for the initial patch
(This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb)
2001-10-09 19:12:18 +00:00
Gerald Carter
59681e1655 merge from 2.2
(This used to be commit c308459bda3f3036c305ee7b9307f740aec66811)
2001-09-30 01:33:02 +00:00
Andrew Tridgell
b12a4dd9b6 declare dbf in one spot
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10 12:14:18 +00:00
Andrew Tridgell
b30e75692d replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems

I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-10 11:08:57 +00:00
Tim Potter
f905c74d9a ^$&%&*$&)% readline uses \n characters instead of letting the terminal wrap
the screen.  This mucks up expect something severe.  )-:

Don't use readline if the CLI_NO_READLINE environment variable is set.
(This used to be commit f0b7593ef54f8f093018ee2a8325e6f4422a4bbd)
2001-07-20 07:46:39 +00:00
Tim Potter
3762d48404 Some versions of readline don't have rl_completion_func_t. )-:
Spotted by http://build.samba.org/
(This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)
2001-05-07 02:03:32 +00:00
Tim Potter
3bb92410a4 Fixed compiler warning.
(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
2001-05-07 01:08:41 +00:00
Andrew Tridgell
62711a9ceb fixed rpcclient readline code
(This used to be commit 4ec971e905cefada5f3980a25781730acdbf4469)
2001-03-19 00:32:16 +00:00
Andrew Tridgell
e17e7b6417 added basic command completion support
(This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
2001-03-19 00:22:52 +00:00
Andrew Tridgell
bc25293f96 much simpler readline code
should work with readline 2.x
(This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
2001-03-18 23:41:53 +00:00
Andrew Tridgell
9c4927d362 much better readline support from Simo Sorce, with some mods from me
to make it a bit simpler
(This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
2001-03-18 13:24:57 +00:00