Skip to content

Commit e4e13f0

Browse files
committed
select: remove the word "eval." from the comment
This is needed to avoid the following test failure. > AssertionError: Expected to NOT find 'eval. Signed-off-by: Kohei Tokunaga <[email protected]>
1 parent 936b4f8 commit e4e13f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/libsyscall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var SyscallsLibrary = {
107107
// select(2) is declared to accept "struct timeval { time_t tv_sec; suseconds_t tv_usec; }".
108108
// However, musl passes the two values to the syscall as an array of long values.
109109
// Note that sizeof(time_t) != sizeof(long) in wasm32. The former is 8, while the latter is 4.
110-
// This means using "C_STRUCTS.timeval.tv_usec" leads to a wrong offset.
110+
// This means using "C_STRUCTS.timeval\.tv_usec" leads to a wrong offset.
111111
// So, instead, we use POINTER_SIZE.
112112
var tv_sec = ({{{ makeGetValue('timeout', 0, 'i32') }}}),
113113
tv_usec = ({{{ makeGetValue('timeout', POINTER_SIZE, 'i32') }}});

0 commit comments

Comments
 (0)