diff options
-rw-r--r-- | source4/lib/basic.mk | 16 | ||||
-rw-r--r-- | source4/lib/dprintf.c | 6 | ||||
-rw-r--r-- | source4/lib/replace/replace.c (renamed from source4/lib/replace.c) | 0 | ||||
-rw-r--r-- | source4/lib/replace/snprintf.c (renamed from source4/lib/snprintf.c) | 0 | ||||
-rw-r--r-- | source4/lib/util_file.c | 2 | ||||
-rw-r--r-- | source4/web_server/config.mk | 2 |
6 files changed, 12 insertions, 14 deletions
diff --git a/source4/lib/basic.mk b/source4/lib/basic.mk index 5c094a6973..02783366ca 100644 --- a/source4/lib/basic.mk +++ b/source4/lib/basic.mk @@ -3,9 +3,9 @@ ############################## # Start SUBSYSTEM LIBREPLACE [SUBSYSTEM::LIBREPLACE] -INIT_OBJ_FILES = lib/replace.o +INIT_OBJ_FILES = lib/replace/replace.o ADD_OBJ_FILES = \ - lib/snprintf.o + lib/replace/snprintf.o # End SUBSYSTEM LIBREPLACE ############################## @@ -49,11 +49,19 @@ INIT_OBJ_FILES = \ # End SUBSYSTEM LIBSAMBA3 ################################################ +[SUBSYSTEM::PAM_ERRORS] +OBJ_FILES = lib/pam_errors.o + +[SUBSYSTEM::GENCACHE] +OBJ_FILES = \ + lib/gencache.o \ + ############################## # Start SUBSYSTEM LIBBASIC [SUBSYSTEM::LIBBASIC] INIT_OBJ_FILES = lib/version.o ADD_OBJ_FILES = \ + lib/xfile.o \ lib/debug.o \ lib/fault.o \ lib/pidfile.o \ @@ -62,7 +70,6 @@ ADD_OBJ_FILES = \ lib/time.o \ lib/genrand.o \ lib/dprintf.o \ - lib/xfile.o \ lib/util_str.o \ lib/util_strlist.o \ lib/util_unistr.o \ @@ -74,14 +81,11 @@ ADD_OBJ_FILES = \ lib/fsusage.o \ lib/ms_fnmatch.o \ lib/select.o \ - lib/pam_errors.o \ - intl/lang_tdb.o \ lib/mutex.o \ lib/server_mutex.o \ lib/idtree.o \ lib/unix_privs.o \ lib/db_wrap.o \ - lib/gencache.o \ lib/gendb.o \ lib/credentials.o REQUIRED_SUBSYSTEMS = \ diff --git a/source4/lib/dprintf.c b/source4/lib/dprintf.c index 5538c490ce..6653fa4242 100644 --- a/source4/lib/dprintf.c +++ b/source4/lib/dprintf.c @@ -38,16 +38,10 @@ int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) char *msgstr; va_list ap2; - /* do any message translations */ - msgstr = lang_msg(format); - if (!msgstr) return -1; - VA_COPY(ap2, ap); ret = vasprintf(&p, msgstr, ap2); - lang_msg_free(msgstr); - if (ret <= 0) return ret; /* now we have the string in unix format, convert it to the display diff --git a/source4/lib/replace.c b/source4/lib/replace/replace.c index 89612912b7..89612912b7 100644 --- a/source4/lib/replace.c +++ b/source4/lib/replace/replace.c diff --git a/source4/lib/snprintf.c b/source4/lib/replace/snprintf.c index adfd3c4d78..adfd3c4d78 100644 --- a/source4/lib/snprintf.c +++ b/source4/lib/replace/snprintf.c diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c index e02198754d..557baa716d 100644 --- a/source4/lib/util_file.c +++ b/source4/lib/util_file.c @@ -115,7 +115,7 @@ read a line from a file with possible \ continuation chars. Blanks at the start or end of a line are stripped. The string will be allocated if s2 is NULL ****************************************************************************/ -char *fgets_slash(char *s2,int maxlen,XFILE *f) +char *fgets_slash(char *s2,int maxlen,FILE *f) { char *s=s2; int len = 0; diff --git a/source4/web_server/config.mk b/source4/web_server/config.mk index 5f59e41502..8c83dceb4c 100644 --- a/source4/web_server/config.mk +++ b/source4/web_server/config.mk @@ -24,6 +24,6 @@ ADD_OBJ_FILES = \ web_server/tls.o \ web_server/tlscert.o \ web_server/pam.o -REQUIRED_SUBSYSTEMS = ESP EXT_LIB_GNUTLS EXT_LIB_PAM SMBCALLS +REQUIRED_SUBSYSTEMS = ESP EXT_LIB_GNUTLS EXT_LIB_PAM SMBCALLS PAM_ERRORS # End SUBSYSTEM WEB ####################### |