ns_main.c.patch

来自「早期freebsd实现」· PATCH 代码 · 共 47 行

PATCH
47
字号
RCS file: RCS/ns_main.c,vretrieving revision 1.1retrieving revision 1.2diff -c -r1.1 -r1.2*** /tmp/,RCSt1014490	Mon May 13 16:35:41 1991--- /tmp/,RCSt2014490	Mon May 13 16:35:42 1991****************** 182,187 ****--- 182,188 ----  	extern struct qstream *sqadd();  	extern struct qinfo *qhead;   	extern char Version[];+ 	int	nofork = 0;    	ns_port = htons(NAMESERVER_PORT);  ****************** 224,229 ****--- 225,234 ----  					setdebug(1);  					break;  + 				case 'n':+ 					nofork++;+ 					break;+   				case 'p':  					if (--argc <= 0)  						usage();****************** 352,358 ****  	 * we've done any slow initialization  	 * and are ready to answer queries.  	 */! 	if (!debug) {  #if defined(BSD) && BSD >= 199006  		daemon(1, 0);  #else--- 357,363 ----  	 * we've done any slow initialization  	 * and are ready to answer queries.  	 */! 	if (!debug && !nofork) {  #if defined(BSD) && BSD >= 199006  		daemon(1, 0);  #else

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?