Displaying 2 results from an estimated 2 matches for "debug_file".
Did you mean:
debugfs_file
2023 May 07
2
[PATCH libnbd] tests: Add a test of nbd_{set, get}_socket_activation_name
...ion_name API. */
+
+#undef NDEBUG
+
+#include <config.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <unistd.h>
+#include <assert.h>
+
+#include <libnbd.h>
+
+#include "requires.h"
+
+#define DEBUG_FILE "socket-activation-name.out"
+
+int
+main (int argc, char *argv[])
+{
+ struct nbd_handle *nbd;
+ char *r;
+
+ /* Test that this version of nbdkit supports -D nbdkit.environ=1
+ * added in nbdkit 1.35.2.
+ */
+ requires ("libnbd_sentinel=42 "
+ "nbdkit -f...
2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...?? const char *p = strrchr(prog_name, '/');
>
> ??????????????? if (p) {
> ??????????????????????? prog_name = p + 1;
> ??????????????? }
>
> ??????????????? state.prog_name = prog_name;
> ??????? }
> ??????? reopen_logs_internal();
> ?+ ????? if (state.logtype == DEBUG_FILE) {
> +#ifdef WITH_SYSLOG
> + ???????????? //const char *p = strrchr_m( prog_name,'/' );
> + ?????????? const char *p = "/log.smbclient";
> +??????????????? if (p)
> + ????????????????????? prog_name = p + 1;
> +#ifdef LOG_DAEMON
> + openlog( prog_name, LOG_PID...