9b02a7e3f0
- Force clang on FreeBSD < 10.0 to resolve 9.x i386 build issues - Modernize USES with tar:tgz - Rely on USERS/GROUPS; remove pkg-install/pkg deinstall scripts - Remove direct chmod usage - Regen patch to pet portlint PR: 200791 Submitted by: Xu Jing <xjflyttp@gmail.com> (maintainer - original version) Approved by: delphij (mentor) MFH: 2015Q3
13 lines
435 B
Text
13 lines
435 B
Text
--- utility.c.orig 2012-10-26 20:05:38 UTC
|
|
+++ utility.c
|
|
@@ -40,6 +40,10 @@ die2(const char* p_text1, const char* p_
|
|
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);
|