summaryrefslogtreecommitdiffstats
path: root/source3/lib/readline.c
Commit message (Collapse)AuthorAgeFilesLines
* Coverity fix #CID: 607 - resource leak on error path.Jeremy Allison2008-10-291-0/+1
| | | | Jeremy.
* OS/X does not have rl_done in readline.hVolker Lendecke2008-10-051-0/+8
|
* Correctly fix smbclient to terminate on eof from server.Jeremy Allison2008-10-031-1/+12
| | | | Jeremy.
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-11/+12
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* Fix an implicit cast warning.Michael Adam2007-11-161-1/+1
| | | | | Michael (This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-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)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r19246: merge from samba4 rev 18207 and 18208:Stefan Metzmacher2007-10-101-1/+3
| | | | | | | readline fixes for mac os 10 metze (This used to be commit 976b97ecbf9bde400a6f92cad9d9709d56e73058)
* r16274: Fix the smbclient prompting behaviour for both systems that haveJames Peach2007-10-101-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)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-2/+2
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* Apply some constVolker Lendecke2003-08-111-2/+2
| | | | (This used to be commit 502b45b55d7ab1c32c9dbc3301f025b2eec620a4)
* And finally IDMAP in 3_0Simo Sorce2003-05-121-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)
* merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett2003-02-081-1/+1
| | | | (This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
* Merge from HEAD - don't mix FILE and X_FILE - fixes debian bugAndrew Bartlett2003-02-081-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)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-0/+18
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-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)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Readline has problems on non tty fd's. Use readline replacement to in casesJeremy Allison2002-01-191-31/+32
| | | | | | where stdin is !isatty to allow stripts to work. Jeremy. (This used to be commit 997d6687fc67e98fe561775b522edfaa00f5ee5f)
* Fix typo.Martin Pool2001-11-191-1/+1
| | | | (This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)
* Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the momentMartin Pool2001-11-191-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)
* Added comment about why not to cast the assignment ofTim Potter2001-11-191-3/+6
| | | | | rl_attempted_completion_function to rl_completion_function_t. (This used to be commit dfaafcd6221412613f9e4eccdaaa2e84253def81)
* Oops, Tim says rl_completion_func_t doesn't exist in all versions ofMartin Pool2001-11-191-7/+5
| | | | | readline. (This used to be commit c4b44cfc3f15f9e85a36981867e534792ccb724e)
* Quieten compiler warnings about a callback function prototype that hasMartin Pool2001-11-191-1/+7
| | | | | changed in recent versions of Readline. (This used to be commit d0a0d27caa04029a814d942e35fb5382bb9a492c)
* initial support to error report in smbclient, useful when using smbclient -c ↵Simo Sorce2001-10-091-1/+3
| | | | | | | in scripts. Thanks to Claudio Cicali aka FleXer for the initial patch (This used to be commit 53b95b3c0fd087b1cade95fd8de849547ac3bfcb)
* merge from 2.2Gerald Carter2001-09-301-17/+0
| | | | (This used to be commit c308459bda3f3036c305ee7b9307f740aec66811)
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
| | | | (This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-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)
* ^$&%&*$&)% readline uses \n characters instead of letting the terminal wrapTim Potter2001-07-201-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)
* Some versions of readline don't have rl_completion_func_t. )-:Tim Potter2001-05-071-2/+1
| | | | | Spotted by http://build.samba.org/ (This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)
* Fixed compiler warning.Tim Potter2001-05-071-1/+2
| | | | (This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)
* fixed rpcclient readline codeAndrew Tridgell2001-03-191-1/+1
| | | | (This used to be commit 4ec971e905cefada5f3980a25781730acdbf4469)
* added basic command completion supportAndrew Tridgell2001-03-191-1/+6
| | | | (This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
* much simpler readline codeAndrew Tridgell2001-03-181-73/+44
| | | | | should work with readline 2.x (This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
* much better readline support from Simo Sorce, with some mods from meAndrew Tridgell2001-03-181-0/+126
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)