Displaying 5 results from an estimated 5 matches for "prog_nam".
Did you mean:
prog_name
2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...sing git bisect between these versions would be tough as,
> versions are far apart.
>
> Even there is significant change log handling between two versions. I
> tried adding the old code back but still no luck.
>
> samba-4.10.4/lib/util/debug.c
> void setup_logging(const char *prog_name, enum debug_logtype new_logtype)
>
> {
> ??????? debug_init();
> ??????? if (state.logtype < new_logtype) {
> ??????????????? state.logtype = new_logtype;
> ??????? }
> ??????? if (prog_name) {
> ??????????????? const char *p = strrchr(prog_name, '/');
>
>...
2012 Nov 04
1
hexdump.c32 for Syslinux 5.00-pre9
..._PER_PAGE 24
+#define COLS_PER_ROW 16
+#define BYTES_PER_PAGE (ROWS_PER_PAGE * COLS_PER_ROW)
+
+/* Functions declarations */
+static int usage(void);
+static void eat_stdin(void);
+static int do_page(void);
+static void hexdump(const void *memory, size_t bytes);
+
+/* Objects */
+static const char *prog_name;
+static int opt_page;
+static int opt_no_buffer;
+static int opt_extended_ascii;
+
+int main(int argc, char **argv)
+{
+ int rc;
+ const char *filename;
+ int i;
+ void *file_data;
+ size_t file_sz;
+ FILE *f;
+ size_t len;
+ const char *cur_pos;
+
+ /* Assume failure *...
2012 Nov 23
1
[PATCH] nictype.c32: PXELINUX module to display UNDI NIC bus type...
...def Countof
+#define Countof(array) (sizeof (array) / sizeof *(array))
+
+static const char *nic_type_names[] = {
+ "Unknown",
+ "Unknown",
+ "PCI",
+ "PnP",
+ "CardBus",
+};
+
+static int usage(const char *prog);
+
+static const char prog_name[] = "nictype.c32";
+
+int main(int argc, char **argv)
+{
+ int status;
+ t_PXENV_UNDI_GET_NIC_TYPE nic_type_info;
+ char filename[] = "VVVVDDDD";
+
+ openconsole(&dev_stdcon_r, &dev_stdcon_w);
+
+ status = pxe_get_nic_type(&nic_type_info);
+ if (st...
2011 Jun 30
5
How to define a hash table and loop over them in a definition?
This may have been asked before, if so, please excuse me and point me
to the right direction.
What I want to do is to define a hash table with multiple key->value
pairs. I would like to pass this variable to a file template and
generate a result file with all the mappings listed. Based on what I
read, I need to do it in a definition. But does Puppet supports loop
over a hash?
Any help would
2023 Apr 13
1
libgpfs.so
I'm trying to debug a phantom I/O error which I mentioned before
(https://lists.samba.org/archive/samba/2023-March/244431.html -
it turned out it has nothing to do with kernel oplocks).
And noticed samba is regularly tries to load libgpfs.so.
This is done in gpfswrap_init() in lib/util/gpfswrap.c, which
is used in vfs_gpfs.c (understandable) *and* in lib/util/debug.c.
The latter added by