Skip to content

Commit d35e2ff

Browse files
committed
Update expected files.
1 parent e62d3ac commit d35e2ff

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

expected/wasm32-wasi/predefined-macros.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@
132132
#define ATF_PERM 0x04
133133
#define ATF_PUBL 0x08
134134
#define ATF_USETRAILERS 0x10
135-
#define AT_EACCESS 0x0
136-
#define AT_REMOVEDIR 0x4
137-
#define AT_SYMLINK_FOLLOW 0x2
138-
#define AT_SYMLINK_NOFOLLOW 0x1
135+
#define AT_EACCESS (0x0)
136+
#define AT_REMOVEDIR (0x4)
137+
#define AT_SYMLINK_FOLLOW (0x2)
138+
#define AT_SYMLINK_NOFOLLOW (0x1)
139139
#define AUTHTYPE_CNT 5
140140
#define AUTHTYPE_KERBEROS_V4 1
141141
#define AUTHTYPE_KERBEROS_V5 2
@@ -611,7 +611,7 @@
611611
#define EX_USAGE 64
612612
#define EX__BASE 64
613613
#define EX__MAX 78
614-
#define FD_CLOEXEC 1
614+
#define FD_CLOEXEC (1)
615615
#define FD_CLR(fd,set) FD_CLR((fd), (set))
616616
#define FD_COPY(from,to) FD_COPY(from, to)
617617
#define FD_ISSET(fd,set) FD_ISSET((fd), (set))
@@ -695,12 +695,12 @@
695695
#define FTW_PHYS 1
696696
#define FTW_SL 5
697697
#define FTW_SLN 7
698-
#define F_GETFD 1
699-
#define F_GETFL 3
698+
#define F_GETFD (1)
699+
#define F_GETFL (3)
700700
#define F_LOCK 1
701701
#define F_OK 0
702-
#define F_SETFD 2
703-
#define F_SETFL 4
702+
#define F_SETFD (2)
703+
#define F_SETFL (4)
704704
#define F_TEST 3
705705
#define F_TLOCK 2
706706
#define F_ULOCK 0
@@ -1629,22 +1629,22 @@
16291629
#define OPOST 0000001
16301630
#define O_ACCMODE (O_EXEC | O_RDWR | O_SEARCH)
16311631
#define O_APPEND __WASI_FDFLAG_APPEND
1632-
#define O_CLOEXEC 0
1632+
#define O_CLOEXEC (0)
16331633
#define O_CREAT (__WASI_O_CREAT << 12)
16341634
#define O_DIRECTORY (__WASI_O_DIRECTORY << 12)
16351635
#define O_DSYNC __WASI_FDFLAG_DSYNC
16361636
#define O_EXCL (__WASI_O_EXCL << 12)
1637-
#define O_EXEC 0x2000000
1638-
#define O_NOCTTY 0
1639-
#define O_NOFOLLOW 0x1000000
1637+
#define O_EXEC (0x02000000)
1638+
#define O_NOCTTY (0)
1639+
#define O_NOFOLLOW (0x01000000)
16401640
#define O_NONBLOCK __WASI_FDFLAG_NONBLOCK
1641-
#define O_RDONLY 0x4000000
1641+
#define O_RDONLY (0x04000000)
16421642
#define O_RDWR (O_RDONLY | O_WRONLY)
16431643
#define O_RSYNC __WASI_FDFLAG_RSYNC
1644-
#define O_SEARCH 0x8000000
1644+
#define O_SEARCH (0x08000000)
16451645
#define O_SYNC __WASI_FDFLAG_SYNC
16461646
#define O_TRUNC (__WASI_O_TRUNC << 12)
1647-
#define O_WRONLY 0x10000000
1647+
#define O_WRONLY (0x10000000)
16481648
#define PACKETSZ NS_PACKETSZ
16491649
#define PACKET_ADD_MEMBERSHIP 1
16501650
#define PACKET_AUXDATA 8
@@ -3545,10 +3545,10 @@
35453545
#define __WASI_RIGHT_PATH_LINK_TARGET (UINT64_C(0x0000000000001000))
35463546
#define __WASI_RIGHT_PATH_OPEN (UINT64_C(0x0000000000002000))
35473547
#define __WASI_RIGHT_PATH_READLINK (UINT64_C(0x0000000000008000))
3548+
#define __WASI_RIGHT_PATH_REMOVE_DIRECTORY (UINT64_C(0x0000000002000000))
35483549
#define __WASI_RIGHT_PATH_RENAME_SOURCE (UINT64_C(0x0000000000010000))
35493550
#define __WASI_RIGHT_PATH_RENAME_TARGET (UINT64_C(0x0000000000020000))
35503551
#define __WASI_RIGHT_PATH_SYMLINK (UINT64_C(0x0000000001000000))
3551-
#define __WASI_RIGHT_PATH_UNLINK_DIRECTORY (UINT64_C(0x0000000002000000))
35523552
#define __WASI_RIGHT_PATH_UNLINK_FILE (UINT64_C(0x0000000004000000))
35533553
#define __WASI_RIGHT_POLL_FD_READWRITE (UINT64_C(0x0000000008000000))
35543554
#define __WASI_RIGHT_SOCK_SHUTDOWN (UINT64_C(0x0000000010000000))

expected/wasm32-wasi/undefined-symbols.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ __wasi_path_filestat_set_times
4848
__wasi_path_link
4949
__wasi_path_open
5050
__wasi_path_readlink
51+
__wasi_path_remove_directory
5152
__wasi_path_rename
5253
__wasi_path_symlink
53-
__wasi_path_unlink_directory
5454
__wasi_path_unlink_file
5555
__wasi_poll_oneoff
5656
__wasi_proc_exit

0 commit comments

Comments
 (0)