aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ();