Commit b1b3ce81 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

pure-ftpd: bump to version 1.0.42



bzero patch upstream so drop it.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 668aa0f4
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
From f70c363b633229368ed352ce4f599da033cbbdf1 Mon Sep 17 00:00:00 2001
From: Alexey Brodkin <abrodkin@synopsys.com>
Date: Thu, 9 Jul 2015 09:38:25 +0300
Subject: [PATCH] Fix building in case of HAVE_EXPLICIT_BZERO

Currently if toolchain has implementation of explicit_bzero() and so
HAVE_EXPLICIT_BZERO gets defined during configuration compilation will
fail that way:
------------------------------------>8------------------------------
utils.c: In function 'pure_memzero':
utils.c:49:1: error: expected declaration or statement at end of input
 }
 ^
------------------------------------>8------------------------------

That happens because closing "#endif" is put 1 line below than really
meant.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 src/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.c b/src/utils.c
index 228a8dc..f41492d 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -25,8 +25,8 @@ void pure_memzero(void * const pnt, const size_t len)
     while (i < len) {
         pnt_[i++] = 0U;
     }
-}
 # endif
+}
 
 int pure_memcmp(const void * const b1_, const void * const b2_, size_t len)
 {
-- 
2.4.3
+1 −1
Original line number Diff line number Diff line
# Locally calculated after checking pgp signature
sha256	1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010	pure-ftpd-1.0.41.tar.bz2
sha256	efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10	pure-ftpd-1.0.42.tar.bz2
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#
################################################################################

PURE_FTPD_VERSION = 1.0.41
PURE_FTPD_VERSION = 1.0.42
PURE_FTPD_SITE = http://download.pureftpd.org/pub/pure-ftpd/releases
PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2
PURE_FTPD_LICENSE = ISC