diff options
Diffstat (limited to 'net/samba30/patches/patch-bg')
-rw-r--r-- | net/samba30/patches/patch-bg | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/net/samba30/patches/patch-bg b/net/samba30/patches/patch-bg deleted file mode 100644 index fa7337fae14..00000000000 --- a/net/samba30/patches/patch-bg +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-bg,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $ - ---- printing/nt_printing.c.orig 2009-09-30 21:21:56.000000000 +0900 -+++ printing/nt_printing.c -@@ -351,8 +351,7 @@ static int sec_desc_upg_fn( TDB_CONTEXT - SEC_DESC *sec, *new_sec; - TALLOC_CTX *ctx = state; - int result, i; -- uint32 sd_size; -- size_t size_new_sec; -+ size_t sd_size, size_new_sec; - DOM_SID sid; - - if (!data.dptr || data.dsize == 0) { -@@ -560,28 +559,28 @@ BOOL nt_printing_init(void) - - if (tdb_drivers) - tdb_close(tdb_drivers); -- tdb_drivers = tdb_open_log(lock_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); -+ tdb_drivers = tdb_open_log(state_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); - if (!tdb_drivers) { - DEBUG(0,("nt_printing_init: Failed to open nt drivers database %s (%s)\n", -- lock_path("ntdrivers.tdb"), strerror(errno) )); -+ state_path("ntdrivers.tdb"), strerror(errno) )); - return False; - } - - if (tdb_printers) - tdb_close(tdb_printers); -- tdb_printers = tdb_open_log(lock_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); -+ tdb_printers = tdb_open_log(state_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); - if (!tdb_printers) { - DEBUG(0,("nt_printing_init: Failed to open nt printers database %s (%s)\n", -- lock_path("ntprinters.tdb"), strerror(errno) )); -+ state_path("ntprinters.tdb"), strerror(errno) )); - return False; - } - - if (tdb_forms) - tdb_close(tdb_forms); -- tdb_forms = tdb_open_log(lock_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); -+ tdb_forms = tdb_open_log(state_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); - if (!tdb_forms) { - DEBUG(0,("nt_printing_init: Failed to open nt forms database %s (%s)\n", -- lock_path("ntforms.tdb"), strerror(errno) )); -+ state_path("ntforms.tdb"), strerror(errno) )); - return False; - } - |