File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1250,7 +1250,9 @@ addToLibrary({
1250
1250
// errno.h
1251
1251
// ==========================================================================
1252
1252
1253
- $ERRNO_CODES__postset : `ERRNO_CODES = {
1253
+ // We use a string literal here to avoid the string quotes on the object
1254
+ // keys being removed when processed by jsifier.
1255
+ $ERRNO_CODES : `{
1254
1256
'EPERM': {{{ cDefs.EPERM }}},
1255
1257
'ENOENT': {{{ cDefs.ENOENT }}},
1256
1258
'ESRCH': {{{ cDefs.ESRCH }}},
@@ -1372,8 +1374,7 @@ addToLibrary({
1372
1374
'ENOTRECOVERABLE': {{{ cDefs.ENOTRECOVERABLE }}},
1373
1375
'EOWNERDEAD': {{{ cDefs.EOWNERDEAD }}},
1374
1376
'ESTRPIPE': {{{ cDefs.ESTRPIPE }}},
1375
- };` ,
1376
- $ERRNO_CODES : { } ,
1377
+ }` ,
1377
1378
$ERRNO_MESSAGES : {
1378
1379
0 : 'Success ',
1379
1380
{ { { cDefs . EPERM } } } : 'Not super - user ',
You can’t perform that action at this time.
0 commit comments