summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove some unused variables.Jeremy Allison2013-01-191-3/+0
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* heimdal_build: Try again to sort out the strerror_r messAndrew Bartlett2013-01-192-2/+3
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Fix a commentVolker Lendecke2013-01-181-1/+1
| | | | | | | | | | liboop.org is now in a language I don't understand. But it does definitely not contain a library. Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jan 18 00:05:37 CET 2013 on sn-devel-104
* dbwrap: add dbwrap_is_persistent()Michael Adam2013-01-152-0/+6
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* build(waf)-libreplace: remove redundant check for flistea functionBjörn Baumbach2013-01-151-1/+1
| | | | | | Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* tevent: Fix bug 9550 - sigprocmask does not work on FreeBSD to stop further ↵Jeremy Allison2013-01-151-0/+29
| | | | | | | | | | | | signals in a signal handler Mask off signals the correct way from the signal handler. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jan 15 12:13:43 CET 2013 on sn-devel-104
* lib/replace: Include sys/ucontext.h if available.Jeremy Allison2013-01-151-0/+4
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/replace: Add ucontext configure autoconf checks.Jeremy Allison2013-01-151-0/+13
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/replace: Add ucontext configure waf checks.Jeremy Allison2013-01-151-1/+10
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/replace: Add missing check for sys/wait.hJeremy Allison2013-01-151-1/+1
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Fix bug 9548: Correctly detect O_DIRECTVolker Lendecke2013-01-142-11/+21
| | | | | | | Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jan 14 21:16:23 CET 2013 on sn-devel-104
* ldb: Move doxygen comments for ldb_connect to the right placeStephen Gallagher2013-01-141-13/+12
| | | | | | | Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jan 14 16:21:02 CET 2013 on sn-devel-104
* util: Add a strict directory_create_or_exist function.Andreas Schneider2013-01-092-5/+48
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* replace: Fix compilation of rep_mkstempJesper Larsen2013-01-091-1/+1
| | | | | | | | | | Commit 1fbc185 removed the variable 'p'. Use the equivalent variable 'template' instead. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jan 9 07:18:33 CET 2013 on sn-devel-104
* tdb: Fix undefined prototype warningsVolker Lendecke2013-01-071-0/+2
| | | | | | | | | | These functions are deliberately left without prototypes according to 3fdeaa399, but without prototypes we get warnings. Reviewed-by: Rusty Russell <rusty@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Jan 7 11:20:19 CET 2013 on sn-devel-104
* tdb: Fix \n in error messagesVolker Lendecke2013-01-071-2/+2
| | | | Reviewed-by: Rusty Russell <rusty@samba.org>
* subunit: Update to latest upstream version.Jelmer Vernooij2012-12-2713-12/+101
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Dec 27 21:08:32 CET 2012 on sn-devel-104
* testtools: Update to latest upstream version.Jelmer Vernooij2012-12-2719-63/+503
|
* lib/param: use the correct path names againStefan Metzmacher2012-12-271-5/+5
| | | | | | | | | | | This fixes a regression which was introduced by commit 5b1d95046c8ea624419d94dd7d9e2785ba86f556. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Dec 27 19:19:55 CET 2012 on sn-devel-104
* krb5_wrap: Remove dead code in smb_krb5_renew_ticket().Andreas Schneider2012-12-211-7/+2
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* param: Correctly create directory and create common function.Andreas Schneider2012-12-211-55/+41
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* tdb: Add a comment explaining the "check"Volker Lendecke2012-12-211-1/+4
| | | | | | | | | | I had to ask git blame to find why we have to do it here... Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Dec 21 13:54:39 CET 2012 on sn-devel-104
* tdb: Make tdb_new_database() follow a more conventional styleVolker Lendecke2012-12-211-3/+4
| | | | | | | | | | We usually "goto fail" on every error and then in normal flow set the return variable to success. This patch removes a comment which from my point of view is now obsolete. It violates the {} rule from README.Coding here in favor of the style used in this function. Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix a typoVolker Lendecke2012-12-211-1/+1
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix a typoVolker Lendecke2012-12-211-1/+1
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Use tdb_lock_covered_by_allrecord_lock in tdb_unlockVolker Lendecke2012-12-211-7/+1
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Factor out tdb_lock_covered_by_allrecord_lock from tdb_lock_listVolker Lendecke2012-12-211-23/+31
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Simplify logic in tdb_lock_list slightlyVolker Lendecke2012-12-211-7/+22
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Slightly simplify tdb_lock_listVolker Lendecke2012-12-211-11/+11
| | | | | | | Avoid an else {} branch when we can do an early return Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix blank line endingsVolker Lendecke2012-12-2111-89/+89
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix a commentVolker Lendecke2012-12-211-1/+1
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix a typoVolker Lendecke2012-12-211-1/+1
| | | | | Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Fix a missing CONVERTVolker Lendecke2012-12-211-1/+1
| | | | | | | | | | | methods->tdb_write expects data in on-disk format. For reading that record, methods->tdb_read() has taken care of the on-disk to in-memory representation according to the DOCONV() flag passed down. tdb_rec_write() is a wrapper around methods->tdb_write just doing the CONVERT() on the way to disk. Reviewed-by: Rusty Russell <rusty@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdr: Strip trailing whitespace.Jelmer Vernooij2012-12-151-10/+10
|
* util: Remove unused fde_stdin in samba_runcmd.Andreas Schneider2012-12-121-22/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* tdb: Improve the documentation of tdb_reopen() and tdb_close().Andreas Schneider2012-12-121-2/+8
| | | | | | | Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Dec 12 14:58:50 CET 2012 on sn-devel-104
* tdb: Fix possible crash bugs in the python tdb code.Andreas Schneider2012-12-121-2/+15
| | | | | | | | You can't call tdb_error() for tdb_reopen() or tdb_close(), both return the error code of close(2) and not a TDB_ERROR! Reviewed-by: Simo Sorce <idra@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* util: Don't use the pid ret value uninitialized.Andreas Schneider2012-12-121-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* Fix bug #9471 - SEGV when using second vfs module.Tsukasa Hamano2012-12-071-1/+1
| | | | | | | | | | | Don't use default_classname_table when we obviously shoud be using classname_table. Reviewed by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Dec 7 17:51:50 CET 2012 on sn-devel-104
* lib/talloc: Move manpage to man/.Karolin Seeger2012-12-032-13/+13
| | | | | | | | Trying to be more consistent. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
* lib/tdb: Rename manpages/ to man/.Karolin Seeger2012-12-035-12/+12
| | | | | | | | Trying to be more consistent. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>
* replace: Remove deprecated getpass() support.Andreas Schneider2012-12-038-285/+0
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* util: Add a UNIX platform independent samba_getpass().Andreas Schneider2012-12-033-1/+265
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* ldb: fix a typo in the comment for ldb_req_is_untrusted()Michael Adam2012-11-301-1/+1
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Nov 30 15:44:46 CET 2012 on sn-devel-104
* dbwrap: Remove an unnecessary if-statementVolker Lendecke2012-11-291-3/+1
| | | | | | TALLOC_FREE can live with a NULL pointer Reviewed-by: Michael Adam <obnox@samba.org>
* dbwrap: No need to NULL out a talloc_zero'ed structure elementVolker Lendecke2012-11-291-1/+0
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* dbwrap: Use talloc_zero in db_open_rbtVolker Lendecke2012-11-291-5/+1
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* dbwrap: Use talloc_zero in db_open_cacheVolker Lendecke2012-11-291-6/+1
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* dbwrap: Use dbwrap_parse_record in dbwrap_fetch_uint32_bystringVolker Lendecke2012-11-291-13/+27
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* docs: man tdbtool: Add missing meta data.Karolin Seeger2012-11-291-1/+1
| | | | | | | | | This avoids warnings during the waf build and removes "FIXME" entries from the manpage. Karolin Reviewed-by: Andreas Schneider <asn@samba.org>