aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-24 16:17:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-24 16:17:52 +0200
commitc82bbe9150742ca020291b3e3407472b3527024b (patch)
treef257d0083db406d4edc1feed57299555465a4e34
parent0456c71378513f18a0b6a4c6c1da59516b72975e (diff)
Use \n instead of endl in in rule
-rw-r--r--build2/in/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx
index 7b3904c..1395958 100644
--- a/build2/in/rule.cxx
+++ b/build2/in/rule.cxx
@@ -379,7 +379,7 @@ namespace build2
what = "write"; whom = &tp;
if (ln != 1)
- ofs << endl; // See below.
+ ofs << '\n'; // See below.
ofs << s;
}
@@ -389,7 +389,7 @@ namespace build2
dd.close ();
what = "close"; whom = &tp;
- ofs << endl; // Last write to make sure our mtime is older than dd.
+ ofs << '\n'; // Last write to make sure our mtime is older than dd.
ofs.close ();
arm.cancel ();