search for: sys_fopen

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

2002 May 13
3
lib/debug.c:reopen_logs(349)
...(?): When we are in the period when the errors occurs and a user logs in we get this in the log: Æ2002/05/08 11:30:03, 0Å lib/debug.c:reopen_logs(349) Unable to open new log file /usr/local/samba/var/log.smbd: Too many open files In lib/debug.c if (append_log) new_dbf = sys_fopen( debugf, "a" ); else new_dbf = sys_fopen( debugf, "w" ); if (!new_dbf) æ log_overflow = True; DEBUG(0, ("Unable to open new log file %s: %sØn", debugf, strerror(errno))); log_overflow = False; Which m...
1999 Dec 15
0
Problems with CVS / 2.1.0 prealpha on Redhat 6.1 - still no joy with CVS
...discards `const' from pointer target type snip ... Compiling lib/domain_namemap.c lib/domain_namemap.c: In function `lookup_remote_ntname': lib/domain_namemap.c:907: warning: assignment discards `const' from pointer target type snip ... Compiling lib/system.c lib/system.c: In function `sys_fopen': lib/system.c:271: warning: return makes pointer from integer without a cast snip ... Compiling lib/util.c lib/util.c: In function `nametouid': lib/util.c:2501: warning: passing arg 1 of `Get_Pwnam' discards `const' from pointer target type snip ... nking bin/lsarpcd lsarpcd/lsarpc...
2001 Apr 07
1
samba on NetBSD - some patches
....c @@ -1165,7 +1165,7 @@ "find . -name \"%s\" -print > %s",p,tmpname); else slprintf(cmd,sizeof(pstring)-1, - "find . -maxdepth 1 -name \"%s\" -print > %s",p,tmpname); + "ls -1 %s > %s",p,tmpname); system(cmd); f = sys_fopen(tmpname,"r"); @@ -1599,22 +1599,19 @@ return True; } -#if defined(HAVE_LIBREADLINE) +#if defined(HAVE_READLINE) # if defined(HAVE_READLINE_HISTORY_H) || defined(HAVE_HISTORY_H) /**************************************************************************** history ****************...