@ai-ecoverse/slicc-kernel 1.146.0 → 1.146.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kernel-worker.js
CHANGED
|
@@ -7728,7 +7728,7 @@ function satisfies(version, range2) {
|
|
|
7728
7728
|
}
|
|
7729
7729
|
|
|
7730
7730
|
// src/version.ts
|
|
7731
|
-
var KERNEL_VERSION = true ? "1.146.
|
|
7731
|
+
var KERNEL_VERSION = true ? "1.146.1" : "0.0.0-dev";
|
|
7732
7732
|
var OS_RELEASE = "6.0.0-slicc";
|
|
7733
7733
|
function procVersion() {
|
|
7734
7734
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -22134,6 +22134,7 @@ var VfsNode = class {
|
|
|
22134
22134
|
opens = 0;
|
|
22135
22135
|
writers = 0;
|
|
22136
22136
|
missing = false;
|
|
22137
|
+
made = false;
|
|
22137
22138
|
revoked = false;
|
|
22138
22139
|
fs;
|
|
22139
22140
|
path;
|
|
@@ -22217,6 +22218,7 @@ var VfsNode = class {
|
|
|
22217
22218
|
if (!isMissing(err)) throw err;
|
|
22218
22219
|
while (this.moving.size > 0) await Promise.all(this.moving);
|
|
22219
22220
|
if (this.path !== at) continue;
|
|
22221
|
+
if (!this.made) throw new KernelError("ENOENT");
|
|
22220
22222
|
this.data = new Uint8Array(0);
|
|
22221
22223
|
this.missing = true;
|
|
22222
22224
|
}
|
|
@@ -22866,6 +22868,7 @@ function vfsFile(fs, opts, nodes) {
|
|
|
22866
22868
|
openError ??= { err };
|
|
22867
22869
|
});
|
|
22868
22870
|
};
|
|
22871
|
+
if (opts.create || opts.truncate) node.made = true;
|
|
22869
22872
|
if (opts.create) atOpen(() => node.materialize());
|
|
22870
22873
|
if (opts.truncate) atOpen(() => node.truncate(0));
|
|
22871
22874
|
const takeOpenError = () => {
|