search for: strrchr_m

Displaying 3 results from an estimated 3 matches for "strrchr_m".

Did you mean: strchr_m
2003 Oct 16
0
Cann't get Samba 3.0.0 installed on a SuSE 8.2
...p/samba/source LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared LDFLAGS = Generating smbd/build_options.c ... Compiling lib/util_str.c (1) lib/util_str.c: In function `strchr_m': lib/util_str.c:1196: warning: return discards qualifiers from pointer target type lib/util_str.c: In function `strrchr_m': lib/util_str.c:1244: warning: return discards qualifiers from pointer target type Compiling lib/clobber.c ... Compiling tdb/tdbutil.c (2) tdb/tdbutil.c: In function `make_tdb_data': tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type tdb/tdbutil.c: In functi...
2013 Oct 30
1
samba-4.1.0 wont compile- help!
...p;& (action != REG_CREATED_NEW_KEY)) { ^ ../source3/lib/smbconf/smbconf_reg.c: In function 'smbconf_reg_set_value': ../source3/lib/smbconf/smbconf_reg.c:199:28: error: 'struct registry_key' has no member named 'key' subkeyname = strrchr_m(key->key->name, '\\'); ^ In file included from ../source3/include/includes.h:382:0, from ../source3/lib/smbconf/smbconf_reg.c:20: ../source3/lib/smbconf/smbconf_reg.c:202:31: error: 'struct registry_key' has no member named 'ke...
2020 Mar 19
0
smbclient(samba-4.10.4) cannot log data in log.smbclient while samba-3.6.23 can
...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, SYSLOG_FACILITY ); > +#else > + /* for old systems that have no faci...