shithub: trueawk

Download patch

ref: 1d780ac4f8479c7b7a8d4699f25dc34488fb7c4d
parent: 01749f04cf1366ac50d998c4747acc89549c082f
author: Miguel Pineiro Jr <mpj@pineiro.cc>
date: Wed Dec 8 13:42:59 EST 2021

Delete leading spaces surrounding closefile

Aesthetics and convention aside, they confuse git diff into
misidentifying closefile as filename.

--- a/run.c
+++ b/run.c
@@ -1860,8 +1860,8 @@
 	return "???";
 }
 
- Cell *closefile(Node **a, int n)
- {
+Cell *closefile(Node **a, int n)
+{
  	Cell *x;
 	size_t i;
 	bool stat;
@@ -1893,7 +1893,7 @@
  	x = gettemp();
 	setfval(x, (Awkfloat) (stat ? -1 : 0));
  	return(x);
- }
+}
 
 void closeall(void)
 {
--