List Archive

Thread

Thread Index

Message

From: Remi Collet <remi%fedoraproject.org@localhost>
To: libzip-discuss%nih.at@localhost
Subject: Re: libzip-1.1 released
Date: Thu, 28 Jan 2016 13:42:41 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 28/01/2016 09:57, Thomas Klausner a écrit :
> 
> Hi!
> 
> I'm happy to announce that we've just released libzip version 1.1.

Build is broken

ziptool.c: In function 'main':
ziptool.c:1013:61: error: 'optopt' undeclared (first use in this functio
n)
      snprintf(reason, sizeof(reason), "invalid option -%c", optopt);
                                                             ^


Trivial fix:

- -   snprintf(reason, sizeof(reason), "invalid option -%c", optopt);
+   snprintf(reason, sizeof(reason), "invalid option -%c", c);





Remi.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlaqDL4ACgkQYUppBSnxahjTiwCgzNWDcz3iayNYLt0JcfgAqll3
MJoAoKIvk/3OrJ8ZF5m0Hia1IVar4Bmn
=3fDD
-----END PGP SIGNATURE-----

Made by MHonArc.