xbps/bin
Agustin Chiappe Berrini 51207b9076 fix compilation of fetch_cb on gcc 7
Original message:

```
fetch_cb.c:80:29: error: ‘h’ directive output may be truncated writing 1 byte into a region of size between 0 and 14 [-Werror=format-truncation=]
   snprintf(str, sizeof str, "%02ldh%02ldm",
                             ^~~~~~~~~~~~~~
fetch_cb.c:80:29: note: directive argument in the range [0, 59]
fetch_cb.c:80:3: note: ‘snprintf’ output between 7 and 21 bytes into a destination of size 16
   snprintf(str, sizeof str, "%02ldh%02ldm",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       eta / 3600, (eta % 3600) / 60);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fetch_cb.c:83:30: error: ‘%02ld’ directive output may be truncated writing between 2 and 19 bytes into a region of size 16 [-Werror=format-truncation=]
   snprintf(str, sizeof str, "%02ldm%02lds",
                              ^~~~~
fetch_cb.c:83:29: note: directive argument in the range [-153722867280912930, 60]
   snprintf(str, sizeof str, "%02ldm%02lds",
                             ^~~~~~~~~~~~~~
fetch_cb.c:83:29: note: directive argument in the range [-59, 59]
fetch_cb.c:83:3: note: ‘snprintf’ output between 7 and 25 bytes into a destination of size 16
   snprintf(str, sizeof str, "%02ldm%02lds",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       eta / 60, eta % 60);
       ~~~~~~~~~~~~~~~~~~~
fetch_cb.c:80:29: error: ‘h’ directive output may be truncated writing 1 byte into a region of size between 0 and 14 [-Werror=format-truncation=]
   snprintf(str, sizeof str, "%02ldh%02ldm",
                             ^~~~~~~~~~~~~~
fetch_cb.c:80:29: note: directive argument in the range [0, 59]
fetch_cb.c:80:3: note: ‘snprintf’ output between 7 and 21 bytes into a destination of size 16
   snprintf(str, sizeof str, "%02ldh%02ldm",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       eta / 3600, (eta % 3600) / 60);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fetch_cb.c:83:30: error: ‘%02ld’ directive output may be truncated writing between 2 and 19 bytes into a region of size 16 [-Werror=format-truncation=]
   snprintf(str, sizeof str, "%02ldm%02lds",
                              ^~~~~
fetch_cb.c:83:29: note: directive argument in the range [-153722867280912930, 60]
   snprintf(str, sizeof str, "%02ldm%02lds",
                             ^~~~~~~~~~~~~~
fetch_cb.c:83:29: note: directive argument in the range [-59, 59]
fetch_cb.c:83:3: note: ‘snprintf’ output between 7 and 25 bytes into a destination of size 16
   snprintf(str, sizeof str, "%02ldm%02lds",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       eta / 60, eta % 60);
       ~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
2017-08-22 18:44:32 -04:00
..
xbps-alternatives xbps-alternatives(1): implemented -g <grp> -l. 2015-10-31 12:11:21 +01:00
xbps-checkvers xbps-checkvers.1: fix incorrect double negative (#219) 2016-12-25 21:21:28 +01:00
xbps-create xbps-create: remove mmap to load files to archive. 2016-06-17 17:10:10 +02:00
xbps-dgraph Minor changes to the documentation. 2015-10-30 02:01:29 -04:00
xbps-fbulk xbps-fbulk: use _DEFAULT_SOURCE, required for wait3 in glibc 2.16. 2017-08-07 16:08:15 +02:00
xbps-install fix compilation of fetch_cb on gcc 7 2017-08-22 18:44:32 -04:00
xbps-pkgdb xbps-pkgdb(1): extend discussion of package modes 2016-09-21 14:56:17 +02:00
xbps-query bin/xbps-query: add --list-repolock-pkgs 2016-09-21 14:11:04 +02:00
xbps-reconfigure Minor changes to the documentation. 2015-10-30 02:01:29 -04:00
xbps-remove xbps-install(1), xbps-remove(1) point to xbps-pkgdb(1) 2016-09-21 14:56:17 +02:00
xbps-rindex bin/xbps-rindex: fix memleaks in index_add 2016-09-25 21:27:38 +02:00
xbps-uchroot bin/xbps-uchroot: mount / as private 2016-09-20 17:45:56 +02:00
xbps-uhelper xbps-uhelper: fix a warning reported by clang-3.8.1. 2016-07-17 11:34:39 +02:00
xbps-uunshare Minor changes to the documentation. 2015-10-30 02:01:29 -04:00
Makefile Alternatives framework for xbps (2/2). 2015-10-30 12:24:46 +01:00