From 31e44ba563183055bef5387a0829c3ae4726232d Mon Sep 17 00:00:00 2001 From: Reinaldo Arrosi Date: Tue, 11 Dec 2018 17:48:17 -0200 Subject: [PATCH] fix: fds to start from 0x7fffffff instead of 0xffffffff (#277) --- src/volume.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume.ts b/src/volume.ts index 3556b9a25..dec4dbe46 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -535,7 +535,7 @@ export class Volume { * @type {number} * @todo This should not be static, right? */ - static fd: number = 0xffffffff; + static fd: number = 0x7fffffff; // Constructor function used to create new nodes. // NodeClass: new (...args) => TNode = Node as new (...args) => TNode;