Skip to content

Commit 31e44ba

Browse files
reinaldoarrosistreamich
authored andcommitted
fix: fds to start from 0x7fffffff instead of 0xffffffff (#277)
1 parent 107ccb0 commit 31e44ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/volume.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ export class Volume {
535535
* @type {number}
536536
* @todo This should not be static, right?
537537
*/
538-
static fd: number = 0xffffffff;
538+
static fd: number = 0x7fffffff;
539539

540540
// Constructor function used to create new nodes.
541541
// NodeClass: new (...args) => TNode = Node as new (...args) => TNode;

0 commit comments

Comments
 (0)