[Git][ghc/ghc][wip/js-fileStat] Add reference to issue 22573 to comment.

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Thu Jan 19 11:13:34 UTC 2023



Josh Meredith pushed to branch wip/js-fileStat at Glasgow Haskell Compiler / GHC


Commits:
b3c956c8 by Josh Meredith at 2023-01-19T11:13:23+00:00
Add reference to issue 22573 to comment.

- - - - -


1 changed file:

- libraries/base/jsbits/base.js


Changes:

=====================================
libraries/base/jsbits/base.js
=====================================
@@ -455,7 +455,8 @@ function h$base_c_s_isfifo(mode) {
 // The `fileStat` is filled according to the layout of Emscripten's `stat`
 // struct - defined in stat.h. We must use this layout due to this header
 // file being used for retrieve the offsets for hsc files that peek into
-// memory locations of structs directly.
+// memory locations of structs directly. For more information see:
+// https://gitlab.haskell.org/ghc/ghc/-/issues/22573
 function h$base_fillStat(fs, b, off) {
     if(off%4) throw "h$base_fillStat: not aligned";
     var o = off>>2;



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b3c956c86a41a9ce6e658b8de3af6e3900499b94

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b3c956c86a41a9ce6e658b8de3af6e3900499b94
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230119/f828c536/attachment-0001.html>


More information about the ghc-commits mailing list