File: patch-fix-spelling-errors-in-manpage-and.patch

package info (click to toggle)
tup 0.8-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,068 kB
  • sloc: ansic: 256,651; sh: 19,101; perl: 184; python: 67; lisp: 63; makefile: 56
file content (25 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Dmitry Bogatov <KAction@gnu.org>
Date: Sat, 12 May 2018 20:50:35 +0300
Subject: [PATCH] Fix spelling errors in manpage and binary

---
 src/luabuiltin/builtin.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/luabuiltin/builtin.lua
+++ b/src/luabuiltin/builtin.lua
@@ -45,12 +45,12 @@
 end
 
 tup.file = function(filename)
-	-- Returns filename sans preceeding dir/'s
+	-- Returns filename sans preceding dir/'s
 	return (string.gsub(filename, '[^/\\]*[/\\]', ''))
 end
 
 tup.base = function(filename)
-	-- Returns filename sans preceeding dir/'s and sans the final . and following characters
+	-- Returns filename sans preceding dir/'s and sans the final . and following characters
 	return (string.gsub(tup.file(filename), '%.%w*$', ''))
 end