Re: [Openvpn-devel] [PATCH 1/1] Fix warning: format not a string literal and no format arguments

2011-02-17 Thread Matthias Andree
Am 16.02.2011 22:55, schrieb Gilles Espinasse:
> Seen with gcc-4.4.5 and -Wformat -Wformat-security
> 
> Signed-off-by: Gilles Espinasse 
> ---
>  options.c |6 +++---
>  push.c|4 ++--
>  2 files changed, 5 insertions(+), 5 deletions(-)

Good catch, patch approved.

-- 
Matthias Andree



[Openvpn-devel] Splitting the ACK/NACK system into two?

2011-02-17 Thread Samuli Seppänen
Hi all,

Lately I've been thinking of ways to improve our ACK/NACK system so that
patches could get merged _or_ rejected faster. There have some cases
where no clear resolution has been reached, one example being the
floating-tls patch[1]. The way I see it, whether a patch should be
merged into OpenVPN depends on two factors:

a) Does it make sense (feature-vise) to include the patch in OpenVPN?
b) Is the patch of good quality / does it follow our coding conventions?

Of these a) should be the primary consideration, after which b) can be
looked into. In some cases determining a) is trivial, e.g. if the patch
fixes a bug. Similarly, determining b) should be easy most of the time.
Only patches which add, modify or remove features may require in-depth
discussion on b). Although all of this is obvious, I've noted that very
few non-developers have participated in the ACK/NACK system, even they
would be perfectly capable of handling a). A good example is the DHCP
filtering patch[2]. Therefore, I propose the following formal
modification to the ACK/NACK system:

- anybody can give a "Feature ACK/NACK" (a) for any given patch; or, in
other words saying "this patch is worth/not worth including"
- once (a) is given, a developer can give "Code ACK/NACK" (b), which
will result in merging the patch or in request to modify the patch

To avoid adding extra layer of bureaucracy both ACKs (a+b) could be
given by the same person. I believe this approach would give us several
benefits:

- allow more people to participate in the ACK/NACK work
- reduce workload of the developers (due to ^^^)
- help focus on a) before b)
- allow quicker rejection of "this does not make sense" type patches
- allow sharing responsibility in giving an ACK (e.g. if developer can't
give a "Feature ACK", but can still give a "Code ACK")

Any thoughts?

-- 
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock


[1] 



[2] 




Re: [Openvpn-devel] [PATCH 1/1] Fix warning: format not a string literal and no format arguments

2011-02-17 Thread David Sommerseth

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/02/11 22:55, Gilles Espinasse wrote:
| Seen with gcc-4.4.5 and -Wformat -Wformat-security
|
| Signed-off-by: Gilles Espinasse
| ---
|   options.c |6 +++---
|   push.c|4 ++--
|   2 files changed, 5 insertions(+), 5 deletions(-)

Thank you very much, but I'm sorry to be a party killer ... this is already
implemented in the beta2.2, bugfix2.1 and allmerged branches.

commit d6b783a8ec505c8e158bd0304c5e195cff5bb8c3
Author: David Sommerseth 
List-Post: openvpn-devel@lists.sourceforge.net
Date:   Fri Sep 17 17:10:25 2010 +0200

~Fixed compiler warnings reported on Ubuntu 10.04

~The warnings reported where:
~
~misc.c:158: warning: ignoring return value of ?nice?, declared with
~attribute warn_unused_result
~options.c:4033: warning: format not a string literal and no format
~arguments
~options.c:4043: warning: format not a string literal and no format
~arguments
~options.c:4053: warning: format not a string literal and no format
~arguments
~push.c:182: warning: format not a string literal and no format arguments
~push.c:199: warning: format not a string literal and no format arguments
~push.c:235: warning: format not a string literal and no format arguments
~status.c:171: warning: ignoring return value of ?ftruncate?, declared
~with attribute warn_unused_result
~

~Signed-off-by: David Sommerseth 
~Acked-by: Gert Doering 
~Acked-by: Peter Stuge 


But good catch!  Please be sure you check against at least the allmerged
branch in the future, and you might avoid dumping into this issue again.

And kudos for using the git tree and git send-email!

We're also in the last stages of finalising the 2.2-RC release, so in the near
future beta2.2 will become our master branch.  The git tree will go through
some minor changes, and we will simplify where to grab the correct code.


kind regards,

David Sommerseth
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk1cZc4ACgkQDC186MBRfrocIwCfUqNQIH/0D+OGZrNoW4QeauDg
AqIAoJ29S4PtV3NCiPQxnq4GldOS+sAK
=SNZs
-END PGP SIGNATURE-