Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bf53d85ec20c228e0efdadbdb12c0f92283fcfd0 Commit: bf53d85ec20c228e0efdadbdb12c0f92283fcfd0 Parent: 80e39311ff3d7d2267ea8d259aab8dc9d5a59d61 Author: Jeff Dike <[EMAIL PROTECTED]> AuthorDate: Mon Feb 4 22:31:18 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Feb 5 09:44:30 2008 -0800
uml: implement O_APPEND The .a flags in openflags never had an implementation. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- arch/um/os-Linux/file.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c index d7404c6..b5afcfd 100644 --- 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) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html