@ai-ecoverse/slicc-kernel 1.95.0 → 1.95.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.
@@ -10415,11 +10415,16 @@ var MountFs = class _MountFs {
10415
10415
  }
10416
10416
  async realpath(path, follow2) {
10417
10417
  const { realpath: realpath2 } = this.base;
10418
- if (this.at(path) || !realpath2) throw errnoError("ENOSYS", path);
10419
- const real = await realpath2.call(this.base, path, follow2).catch((err) => {
10420
- throw redirectOf(err) ? errnoError("ENOSYS", path) : err;
10421
- });
10422
- if (this.at(real)) throw errnoError("ENOSYS", path);
10418
+ if (!this.at(path) && realpath2) {
10419
+ const real2 = await realpath2.call(this.base, path, follow2).catch((err) => {
10420
+ if (redirectOf(err)) return void 0;
10421
+ throw err;
10422
+ });
10423
+ if (real2 !== void 0 && !this.at(real2)) return real2;
10424
+ }
10425
+ const real = follow2 ? await realTarget(this, normalizePath(path)) : await this.named(path);
10426
+ if (this.rejectLinks && real !== normalizePath(path)) throw errnoError("ELOOP", path);
10427
+ await this.lstat(real);
10423
10428
  return real;
10424
10429
  }
10425
10430
  async hasOwner(path) {
@@ -11723,7 +11728,7 @@ function mountTable(mounts = []) {
11723
11728
  }
11724
11729
 
11725
11730
  // src/version.ts
11726
- var KERNEL_VERSION = true ? "1.95.0" : "0.0.0-dev";
11731
+ var KERNEL_VERSION = true ? "1.95.1" : "0.0.0-dev";
11727
11732
  var OS_RELEASE = "6.0.0-slicc";
11728
11733
  function procVersion() {
11729
11734
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC