diff options
author | Herb Lewis <herb@samba.org> | 2005-04-27 18:32:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:43 -0500 |
commit | ed1f7121a39d863066ef47e985b77fe3dbedbc9b (patch) | |
tree | e24fc83bd3a3f078620859a3c77a93372d763977 /source3/lib | |
parent | 7a8ee799259c7c0e3d5d6b3d34ce05195f53d4cb (diff) | |
download | samba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.tar.gz samba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.tar.bz2 samba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.zip |
r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunk
so our numbers don't get out of sync
(This used to be commit 58e307664e02ebf0415f19ed625d2f166d9cb1cc)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/debug.c | 2 | ||||
-rw-r--r-- | source3/lib/util.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index b69a35ecd5..43d1f64eb1 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -164,6 +164,8 @@ static const char *default_classname_table[] = { "idmap", /* DBGC_IDMAP */ "quota", /* DBGC_QUOTA */ "acls", /* DBGC_ACLS */ + "printerdb", /* DBGC_PRINTERDB */ + "locking", /* DBGC_LOCKING */ NULL }; diff --git a/source3/lib/util.c b/source3/lib/util.c index 596f0827a5..b0cd9aa9e7 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1793,6 +1793,9 @@ void free_namearray(name_compare_entry *name_array) SAFE_FREE(name_array); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /**************************************************************************** Simple routine to do POSIX file locking. Cruft in NFS and 64->32 bit mapping is dealt with in posix.c @@ -1843,6 +1846,9 @@ BOOL fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type) return(True); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /******************************************************************* Is the name specified one of my netbios names. Returns true if it is equal, false otherwise. |