From bcac9353a8a0733144aaaf8a0945cdb169cbcc8d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 10 Jan 2020 14:50:57 -0800 Subject: [PATCH] Rename `creat` to `create`. Ken Thompson was once asked what he would do differently if he were redesigning the UNIX system. His reply: "I'd spell creat with an e." - https://en.wikiquote.org/wiki/Ken_Thompson#Quotes --- phases/ephemeral/witx/typenames.witx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phases/ephemeral/witx/typenames.witx b/phases/ephemeral/witx/typenames.witx index f3b7c83e..50b865a5 100644 --- a/phases/ephemeral/witx/typenames.witx +++ b/phases/ephemeral/witx/typenames.witx @@ -228,7 +228,7 @@ $fd_allocate ;;; The right to invoke `path_create_directory`. $path_create_directory - ;;; If `path_open` is set, the right to invoke `path_open` with `oflags::creat`. + ;;; If `path_open` is set, the right to invoke `path_open` with `oflags::create`. $path_create_file ;;; The right to invoke `path_link` with the file descriptor as the ;;; source directory. @@ -451,7 +451,7 @@ (typename $oflags (flags u16 ;;; Create file if it does not exist. - $creat + $create ;;; Fail if not a directory. $directory ;;; Fail if file already exists.