aboutsummaryrefslogtreecommitdiff
path: root/src/usr.bin/fmt
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-16 09:35:46 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-16 09:35:46 +0200
commit9ebbad626103891779c0e1c3304226a8967cf0a5 (patch)
treeb90d48912739c003452177d274ca7385ba249737 /src/usr.bin/fmt
parent3fa50c8878d666810c9ab33f33c4eef6c64cdd71 (diff)
downloadpatches-9ebbad626103891779c0e1c3304226a8967cf0a5.tar.gz
Move src to usr directory
Diffstat (limited to 'src/usr.bin/fmt')
-rw-r--r--src/usr.bin/fmt/patch-single-space21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/usr.bin/fmt/patch-single-space b/src/usr.bin/fmt/patch-single-space
deleted file mode 100644
index 592fa4d..0000000
--- a/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++);