diff options
author | Cem Keylan <cem@ckyln.com> | 2023-09-06 16:56:25 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2023-09-06 16:56:25 +0200 |
commit | c13445ed7aab4471471e98ec74e7a9b8a5f7cded (patch) | |
tree | f448a8accbce781e2f99133fa883153ff67572b0 /community/coreutils/patches/busybox-style.patch | |
parent | e5cde8077be177ae38251533835e00edaaf6756a (diff) | |
download | repository-c13445ed7aab4471471e98ec74e7a9b8a5f7cded.tar.gz |
coreutils: bump to 9.4
Diffstat (limited to 'community/coreutils/patches/busybox-style.patch')
-rw-r--r-- | community/coreutils/patches/busybox-style.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/coreutils/patches/busybox-style.patch b/community/coreutils/patches/busybox-style.patch new file mode 100644 index 00000000..fbd7f3b3 --- /dev/null +++ b/community/coreutils/patches/busybox-style.patch @@ -0,0 +1,16 @@ +This adds a busybox-style usage that a lot of people are used to, to the +coreutils(1) program. +--- a/src/coreutils.c Wed Jul 5 13:09:55 2023 ++++ b/src/coreutils.c Wed Sep 6 16:21:00 2023 +@@ -169,6 +169,11 @@ + else + arg_name = prog_name; + } ++ else if (!STRPREFIX (argv[1], "-")) ++ { ++ nskip = 1; ++ arg_name = prog_name = argv[1]; ++ } + + if (nskip) + { |