[Asterisk-cvs] asterisk/pbx pbx_gtkconsole.c,1.4,1.5 pbx_spool.c,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Mon Sep 8 11:46:59 CDT 2003


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv30979/pbx

Modified Files:
	pbx_gtkconsole.c pbx_spool.c 
Log Message:
BSD portability enhancements (bug #234)


Index: pbx_gtkconsole.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_gtkconsole.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pbx_gtkconsole.c	15 Aug 2003 04:38:39 -0000	1.4
--- pbx_gtkconsole.c	8 Sep 2003 16:48:07 -0000	1.5
***************
*** 33,38 ****
  #include <string.h>
  #include <stdarg.h>
  #include <sys/time.h>
- #include <sys/signal.h>
  
  #include <gtk/gtk.h>
--- 33,38 ----
  #include <string.h>
  #include <stdarg.h>
+ #include <signal.h>
  #include <sys/time.h>
  
  #include <gtk/gtk.h>

Index: pbx_spool.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_spool.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pbx_spool.c	25 Aug 2003 22:40:14 -0000	1.2
--- pbx_spool.c	8 Sep 2003 16:48:07 -0000	1.3
***************
*** 244,248 ****
  					/* Add a retry line at the end */
  					fseek(f, 0L, SEEK_END);
! 					fprintf(f, "Retry: %d (%ld)\n", o->retries, now);
  					fclose(f);
  					now += o->retrytime;
--- 244,248 ----
  					/* Add a retry line at the end */
  					fseek(f, 0L, SEEK_END);
! 					fprintf(f, "Retry: %d (%ld)\n", o->retries, (long) now);
  					fclose(f);
  					now += o->retrytime;




More information about the svn-commits mailing list