aboutsummaryrefslogtreecommitdiff
path: root/usr/src/usr.bin/fmt/patch-single-space
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-18 18:50:22 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-18 18:50:22 +0200
commit06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d (patch)
tree0eaf4e85da964e98d7cd4f9cc72bba8ac14a05a2 /usr/src/usr.bin/fmt/patch-single-space
parent123687a5aa3482b5ba9ca86179526c94422b409d (diff)
downloadpatches-06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d.tar.gz
Move usr/*src to *src
Diffstat (limited to 'usr/src/usr.bin/fmt/patch-single-space')
-rw-r--r--usr/src/usr.bin/fmt/patch-single-space21
1 files changed, 0 insertions, 21 deletions
diff --git a/usr/src/usr.bin/fmt/patch-single-space b/usr/src/usr.bin/fmt/patch-single-space
deleted file mode 100644
index 592fa4d..0000000
--- a/usr/src/usr.bin/fmt/patch-single-space
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
-(Build with `USETOOLS=never make'.)
-
---- fmt.c.orig 2017-10-13 00:11:56.000000000 +0000
-+++ fmt.c
-@@ -402,13 +402,10 @@ split(const wchar_t line[], int add_spac
- }
-
- /*
-- * Guarantee a space at end of line. Two spaces after end of
-- * sentence punctuation.
-+ * Guarantee a space at end of line.
- */
- if (*cp == '\0' && add_space) {
- buf_putc(&word, ' ');
-- if (strchr(".:!", cp[-1]))
-- buf_putc(&word, ' ');
- }
- while (*cp == ' ')
- buf_putc(&word, *cp++);