Update of /cvsroot/perfparse/_perfparse/perfparse
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9112/perfparse
Modified Files:
perfparsed.c
Log Message:
advanced logging macros - is it a problem to use C99 Style macros?
Index: perfparsed.c
===================================================================
RCS file: /cvsroot/perfparse/_perfparse/perfparse/perfparsed.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** perfparsed.c 14 Dec 2007 21:42:17 -0000 1.9
--- perfparsed.c 15 Dec 2007 23:30:56 -0000 1.10
***************
*** 53,56 ****
--- 53,57 ----
void daemonize (const char*lock_file)
{
+ pp_log_func;
int i;
int fd;
***************
*** 58,62 ****
pid_t pid,sid;
! pp_log(__FILE__,__LINE__,LOG_DEBUG,_("daemonize: about to fork\n"));
pid = fork ();
if (pid < 0)
--- 59,63 ----
pid_t pid,sid;
! pp_log_fl(LOG_DEBUG,_("daemonize: about to fork\n"));
pid = fork ();
if (pid < 0)
|