projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e3931
)
uml: implement O_APPEND
author
Jeff Dike
<jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:18 +0000
(22:31 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:30 +0000
(09:44 -0800)
The .a flags in openflags never had an implementation.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/file.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/os-Linux/file.c
b/arch/um/os-Linux/file.c
index d7404c621ff7815a923649af53da2b69e4033c1f..b5afcfd0f8611dedd72bd3c58defddcd1e647035 100644
(file)
--- a/
arch/um/os-Linux/file.c
+++ b/
arch/um/os-Linux/file.c
@@
-191,6
+191,8
@@
int os_open_file(const char *file, struct openflags flags, int mode)
f |= O_TRUNC;
if (flags.e)
f |= O_EXCL;
+ if (flags.a)
+ f |= O_APPEND;
fd = open64(file, f, mode);
if (fd < 0)