Переглянути джерело

- updated process_count() to refelect the unixsock_server
- changed version number to reflect the same thing

Andrei Pelinescu-Onciul 21 роки тому
батько
коміт
8864779123
2 змінених файлів з 3 додано та 1 видалено
  1. 1 1
      Makefile.defs
  2. 2 0
      pt.h

+ 1 - 1
Makefile.defs

@@ -45,7 +45,7 @@ export makefile_defs
 VERSION = 0
 PATCHLEVEL = 8
 SUBLEVEL =   13
-EXTRAVERSION = -dev-23-merged
+EXTRAVERSION = -dev-24-unixsock
 
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 OS = $(shell uname -s | sed -e s/SunOS/solaris/ | tr "[A-Z]" "[a-z]")

+ 2 - 0
pt.h

@@ -75,6 +75,8 @@ inline static int process_count()
 		+ (timer_list ? 1 : 0 )
 		/* fifo server */
 		+((fifo==NULL || strlen(fifo)==0) ? 0 : 1 )
+		/* unixsock server*/
+		+(unixsock_name?unixsock_children:0)
 #ifdef USE_TCP
 		+((!tcp_disable)?( 1/* tcp main */ + tcp_children_no + 
 							(timer_list ? 0: 1)):0) /* add the timer proc.