head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2005.10.13.05.08.13;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.1
log
@- prevent endless loop on config errors
- extend USE_RC_SUBR
PR:		87174, 87354
Submitted by:	Pavel Gubin, Wesley Shields
@
text
@--- utility.c.orig      Fri Jul  2 18:26:30 2004
+++ utility.c   Mon Oct 10 01:19:02 2005
@@@@ -33,6 +33,10 @@@@
 void
 bug(const char* p_text)
 {
+  static int inside_bug = 0;
+  if (inside_bug)
+    vsf_sysutil_exit(1);
+  inside_bug++;
   /* Rats. Try and write the reason to the network for diagnostics */
   vsf_sysutil_activate_noblock(VSFTP_COMMAND_FD);
   (void) vsf_sysutil_write_loop(VSFTP_COMMAND_FD, "500 OOPS: ", 10);
@
