aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/rep-create.cxx4
-rw-r--r--bpkg/rep-info.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index 9667016..f9d239b 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -196,7 +196,7 @@ namespace bpkg
// no reason to litter the auto-generated packages and signature
// manifest files.
//
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
manifest_serializer s (ofs, p.string ());
manifests.serialize (s);
@@ -219,7 +219,7 @@ namespace bpkg
p = path (d / signature_file);
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
manifest_serializer s (ofs, p.string ());
m.serialize (s);
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx
index 1d3733d..0f64565 100644
--- a/bpkg/rep-info.cxx
+++ b/bpkg/rep-info.cxx
@@ -204,7 +204,7 @@ namespace bpkg
// Let's set the binary mode not to litter the manifest file
// with the carriage return characters on Windows.
//
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
serialize (ofs, p.string ());
ofs.close ();
}
@@ -319,7 +319,7 @@ namespace bpkg
// Let's set the binary mode not to litter the manifest file
// with the carriage return characters on Windows.
//
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
serialize (ofs, p.string ());
ofs.close ();
}