Giter Site home page Giter Site logo

Comments (6)

EmacsUser avatar EmacsUser commented on June 19, 2024

Huh. I'll look into it.

from extensions.

EmacsUser avatar EmacsUser commented on June 19, 2024

Okay, I got my hands on a Windows box and confirmed the bug. Now I just have to remember how to debug things in Windows...

from extensions.

EmacsUser avatar EmacsUser commented on June 19, 2024

After making the mistake of shutting down the computer, at which point it decided to install 79 updates, I finally got impatient and found the bug by code inspection instead.

Per Section 1.9 of the Glk Spec:

Some functions have pointer arguments, acting as "variable" or "reference" arguments; the function’s intent is to return some value in the space pointed to by the argument. Unless the function says otherwise, it is legal to pass NULL to indicate that you do not care about that value.

However, https://github.com/DavidKinder/Windows-Glk/blob/master/GlkDll/GlkWindow.cpp#L1122 has no nonnullness checks.

I have to travel for a bit, but I'll get throw-away arrays in as a workaround and send David a bug report once I arrive.

from extensions.

EmacsUser avatar EmacsUser commented on June 19, 2024

Okay, DavidKinder/Windows-Glk#1 is in; workaround shortly.

from extensions.

EmacsUser avatar EmacsUser commented on June 19, 2024

Okay, now I have the unfortunate problem of not being able to get to a Windows machine again until Monday. Would somebody be willing to verify this fix?

from extensions.

curiousdannii avatar curiousdannii commented on June 19, 2024

Yep it works! Thanks for figuring this out!

from extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.