001-duplicate-program-name.patch 562 B

123456789101112131415161718
  1. author Sergey Poznyakoff <[email protected]>
  2. https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=641d3f489cf6238bb916368d4ba0d9325a235afb
  3. * src/global.c: Remove superfluous declaration of program_name
  4. --- a/src/global.c
  5. +++ b/src/global.c
  6. @@ -184,9 +184,6 @@ unsigned int warn_option = 0;
  7. /* Extract to standard output? */
  8. bool to_stdout_option = false;
  9. -/* The name this program was run with. */
  10. -char *program_name;
  11. -
  12. /* A pointer to either lstat or stat, depending on whether
  13. dereferencing of symlinks is done for input files. */
  14. int (*xstat) ();