Files
findutils/xargs
Bernhard Voelker d2fee47412 xargs.c: port to GCC 8
GCC 8 issues the following warning diagnostic:

  xargs.c:1134:29: warning: '%u' directive output may be truncated writing \
  between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=]
     static const char *fmt = "%u";
                               ^~
  xargs.c:1161:7: note: 'snprintf' output between 2 and 11 bytes into a \
  destination of size 2
         snprintf (buf, size+1, fmt, n);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* xargs/xargs.c (set_slot_var): Simplify BUF handling to pacify GCC 8
about safe use of snprintf wrt truncated writing.
2018-06-23 23:45:34 +02:00
..
2016-02-16 23:27:44 +01:00
2018-03-14 20:44:14 +01:00
2018-06-23 23:45:34 +02:00