summaryrefslogtreecommitdiff
path: root/source3/lib/readline.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-29Coverity fix #CID: 607 - resource leak on error path.Jeremy Allison1-0/+1
Jeremy.
2008-10-05OS/X does not have rl_done in readline.hVolker Lendecke1-0/+8
2008-10-03Correctly fix smbclient to terminate on eof from server.Jeremy Allison1-1/+12
Jeremy.
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-11/+12
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-11-16Fix an implicit cast warning.Michael Adam1-1/+1
Michael (This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-3/+10
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r19246: merge from samba4 rev 18207 and 18208:Stefan Metzmacher1-1/+3
readline fixes for mac os 10 metze (This used to be commit 976b97ecbf9bde400a6f92cad9d9709d56e73058)
2007-10-10r16274: Fix the smbclient prompting behaviour for both systems that haveJames Peach1-27/+38
libreadline and those that don't. We always use the built-in readline replacement for non-interactive mode. Interactive prompts are always emitted to stdout and non-interactive mode never prompts at all. Introduce x_fdup to avoid spuriously closing stdout when a logfile is specified on the command line and setup_logging is called a second time. (This used to be commit 848ac756f651a4be231e5635580c0fd5f3d3fa0e)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-2/+2
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2003-08-11Apply some constVolker Lendecke1-2/+2
(This used to be commit 502b45b55d7ab1c32c9dbc3301f025b2eec620a4)
2003-05-12And finally IDMAP in 3_0Simo Sorce1-0/+24
We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-02-08merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett1-1/+1
(This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
2003-02-08Merge from HEAD - don't mix FILE and X_FILE - fixes debian bugAndrew Bartlett1-3/+3
http://bugs.debian.org/178219 where the first 4096 bytes where being chewed into the FILE buffer, and never available to X_FILE's read. Andrew Bartlett (This used to be commit 8af72c13841ee51bca4f061a91c05e8fd366f586)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-0/+18
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-01-31Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison1-1/+1
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-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-19Readline has problems on non tty fd's. Use readline replacement to in casesJeremy Allison1-31/+32
where stdin is !isatty to allow stripts to work. Jeremy. (This used to be commit 997d6687fc67e98fe561775b522edfaa00f5ee5f)
2001-11-19Fix typo.Martin Pool1-1/+1
(This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)
2001-11-19Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the momentMartin Pool1-5/+10
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-19Added comment about why not to cast the assignment ofTim Potter1-3/+6
rl_attempted_completion_function to rl_completion_function_t. (This used to be commit dfaafcd6221412613f9e4eccdaaa2e84253def81)
2001-11-19Oops, Tim says rl_completion_func_t doesn't exist in all versions ofMartin Pool1-7/+5
readline. (This used to be commit c4b44cfc3f15f9e85a36981867e534792ccb724e)
2001-11-19Quieten compiler warnings about a callback function prototype that hasMartin Pool1-1/+7
changed in recent versions of Readline. (This used to be commit d0a0d27caa04029a814d942e35fb5382bb9a492c)
2001-10-09initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce1-1/+3
in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch (This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb)
2001-09-30merge from 2.2Gerald Carter1-17/+0
(This used to be commit c308459bda3f3036c305ee7b9307f740aec66811)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-3/+3
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-07-20^$&%&*$&)% readline uses \n characters instead of letting the terminal wrapTim Potter1-13/+34
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-05-07Some versions of readline don't have rl_completion_func_t. )-:Tim Potter1-2/+1
Spotted by http://build.samba.org/ (This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)
2001-05-07Fixed compiler warning.Tim Potter1-1/+2
(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
2001-03-19fixed rpcclient readline codeAndrew Tridgell1-1/+1
(This used to be commit 4ec971e905cefada5f3980a25781730acdbf4469)
2001-03-19added basic command completion supportAndrew Tridgell1-1/+6
(This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
2001-03-18much simpler readline codeAndrew Tridgell1-73/+44
should work with readline 2.x (This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
2001-03-18much better readline support from Simo Sorce, with some mods from meAndrew Tridgell1-0/+126
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)