mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
32 lines
816 B
Plaintext
32 lines
816 B
Plaintext
*** pop_log.c.bak Thu Jul 2 06:45:52 1998
|
|
--- pop_log.c Thu Jul 2 06:51:21 1998
|
|
***************
|
|
*** 55,61 ****
|
|
format = va_arg(ap,char *);
|
|
#endif
|
|
#ifdef HAVE_VPRINTF
|
|
! vsprintf(msgbuf,format,ap);
|
|
#else
|
|
arg1 = va_arg(ap, char *);
|
|
arg2 = va_arg(ap, char *);
|
|
--- 55,61 ----
|
|
format = va_arg(ap,char *);
|
|
#endif
|
|
#ifdef HAVE_VPRINTF
|
|
! vsnprintf(msgbuf,sizeof(msgbuf),format,ap);
|
|
#else
|
|
arg1 = va_arg(ap, char *);
|
|
arg2 = va_arg(ap, char *);
|
|
***************
|
|
*** 77,83 ****
|
|
--- 77,85 ----
|
|
date_time = (char *)ctime(&clock);
|
|
date_time[strlen(date_time) - 1] = '\0';
|
|
(void)fprintf(p->trace,"%s [%d] %s\n",date_time, getpid(), msgbuf);
|
|
+ #if 0
|
|
(void)fprintf(p->trace,"%s \n", date_time);
|
|
+ #endif
|
|
(void)fflush(p->trace);
|
|
}
|
|
else {
|