diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2017-01-30 18:04:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2017-01-30 18:04:28 +0000 |
commit | 8f7fdbd3a373155b856290d605ed56792fa353e3 (patch) | |
tree | f07c0c081d21c1c1ae2d2b54363f9403c8494672 /ftp/vsftpd/files/patch-utility.c | |
parent | ports-mgmt/synth: Upgrade version 1.67a => 1.68 (diff) |
- fix build for FreeBSD-12
- make portlint happier
Notes
Notes:
svn path=/head/; revision=432861
Diffstat (limited to 'ftp/vsftpd/files/patch-utility.c')
-rw-r--r-- | ftp/vsftpd/files/patch-utility.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/vsftpd/files/patch-utility.c b/ftp/vsftpd/files/patch-utility.c new file mode 100644 index 000000000000..09719ad14406 --- /dev/null +++ b/ftp/vsftpd/files/patch-utility.c @@ -0,0 +1,13 @@ +--- utility.c.orig 2012-09-16 04:09:09 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); |