diff options
author | Jeremy Allison <jra@samba.org> | 2002-07-11 00:06:29 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-07-11 00:06:29 +0000 |
commit | 25148a148c1bec680924909722d59d0d47c795ae (patch) | |
tree | b856cfccc097933b09b5c8cea3b08cba879bd74d /source3/lib/util.c | |
parent | 78722434a6511f06b8ea7da0b8a4ca08c8980c04 (diff) | |
download | samba-25148a148c1bec680924909722d59d0d47c795ae.tar.gz samba-25148a148c1bec680924909722d59d0d47c795ae.tar.xz samba-25148a148c1bec680924909722d59d0d47c795ae.zip |
*Experimental* new large-scaling printer code. Splits printing.tdb into
a separate tdb per printer, but only keeps (currently one) tdb open at
a time (although this is easily changed by changing a #define). Needs
scalability testing with large numbers of printers now....
Jeremy.
(This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 92c8850cef..be108aa405 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1859,7 +1859,7 @@ char *myhostname(void) /***************************************************************** a useful function for returning a path in the Samba lock directory *****************************************************************/ -char *lock_path(char *name) +char *lock_path(const char *name) { static pstring fname; @@ -1879,7 +1879,7 @@ char *lock_path(char *name) /***************************************************************** a useful function for returning a path in the Samba pid directory *****************************************************************/ -char *pid_path(char *name) +char *pid_path(const char *name) { static pstring fname; @@ -1904,7 +1904,7 @@ char *pid_path(char *name) * * @retval Pointer to a static #pstring containing the full path. **/ -char *lib_path(char *name) +char *lib_path(const char *name) { static pstring fname; snprintf(fname, sizeof(fname), "%s/%s", dyn_LIBDIR, name); |