]> git.pld-linux.org Git - packages/file.git/commitdiff
remove stdin-filenames patch dropped from spec in 5b3b6ec auto/th/file-5.44-1
authorJan Palus <atler@pld-linux.org>
Mon, 26 Dec 2022 22:20:05 +0000 (23:20 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 26 Dec 2022 22:20:05 +0000 (23:20 +0100)
stdin-filenames.patch [deleted file]

diff --git a/stdin-filenames.patch b/stdin-filenames.patch
deleted file mode 100644 (file)
index 40997f8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/file.c b/src/file.c
-index 5300e5af..6f42fd1d 100644
---- a/src/file.c
-+++ b/src/file.c
-@@ -554,8 +554,7 @@ process(struct magic_set *ms, const char *inname, int wid)
-           file_err(EXIT_FAILURE, "Can't allocate %zu bytes", plen);
-       if (wid > 0 && !bflag) {
--              pname = file_printable(ms, pbuf, plen, inname, wid);
--              (void)printf("%s", std_in ? "/dev/stdin" : pname);
-+              (void)printf("%s", std_in ? "/dev/stdin" : inname);
-               if (nulsep)
-                       (void)putc('\0', stdout);
-               if (nulsep < 2) {
This page took 0.195347 seconds and 4 git commands to generate.