summaryrefslogtreecommitdiff
path: root/data/cpio/progname.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/cpio/progname.diff')
-rw-r--r--data/cpio/progname.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/cpio/progname.diff b/data/cpio/progname.diff
new file mode 100644
index 000000000..fbcea28c0
--- /dev/null
+++ b/data/cpio/progname.diff
@@ -0,0 +1,14 @@
+diff -ur cpio-2.12/gnu/progname.c cpio-2.12+iPhone/gnu/progname.c
+--- cpio-2.12/gnu/progname.c 2015-08-31 09:58:43.000000000 -1000
++++ cpio-2.12+iPhone/gnu/progname.c 2018-08-14 11:30:38.000000000 -1000
+@@ -28,10 +28,6 @@
+ #include <string.h>
+
+
+-/* String containing name the program is called with.
+- To be initialized by main(). */
+-const char *program_name = NULL;
+-
+ /* Set program_name, based on argv[0].
+ argv0 must be a string allocated with indefinite extent, and must not be
+ modified after this call. */