mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Fix test on Rust Stable.
https://github.com/rust-lang/rust/issues/32801
This commit is contained in:
@@ -33,7 +33,7 @@ BUILDDIR := $(BASEDIR)/target/${PROFILE}/
|
||||
PKG_BUILDDIR := $(BUILDDIR)/deps/
|
||||
|
||||
BUSYBOX_ROOT := $(BASEDIR)/tmp/
|
||||
BUSYBOX_VER := 1.24.1
|
||||
BUSYBOX_VER := 1.22.0
|
||||
BUSYBOX_SRC:=$(BUSYBOX_ROOT)/busybox-$(BUSYBOX_VER)/
|
||||
|
||||
# Possible programs
|
||||
|
||||
@@ -246,7 +246,7 @@ impl AtPath {
|
||||
|
||||
pub fn append(&self, name: &str, contents: &str) {
|
||||
log_info("open(append)", self.plus_as_string(name));
|
||||
let mut f = OpenOptions::new().append(true).open(self.plus(name)).unwrap();
|
||||
let mut f = OpenOptions::new().write(true).append(true).open(self.plus(name)).unwrap();
|
||||
let _ = f.write(contents.as_bytes());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user