[packages/file] remove stdin-filenames patch dropped from spec in 5b3b6ec
atler
atler at pld-linux.org
Mon Dec 26 23:21:14 CET 2022
commit 0e2e204a7a2e728797af8ead98204ad2a23ebdf6
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Dec 26 23:20:05 2022 +0100
remove stdin-filenames patch dropped from spec in 5b3b6ec
stdin-filenames.patch | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/stdin-filenames.patch b/stdin-filenames.patch
deleted file mode 100644
index 40997f8..0000000
--- a/stdin-filenames.patch
+++ /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) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/0e2e204a7a2e728797af8ead98204ad2a23ebdf6
More information about the pld-cvs-commit
mailing list