mirror of
https://github.com/uutils/coreutils
synced 2024-07-21 09:54:42 +00:00
Fix test on Rust Stable.
https://github.com/rust-lang/rust/issues/32801
This commit is contained in:
parent
e673a102b6
commit
8ff308740c
2
Makefile
2
Makefile
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue