Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nob_file_exists to distinguish between errors on windows. #72

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Jan 21, 2024

  1. Update nob_file_exists to distinguish between errors on windows.

    Update nob_file_exists to distinguish between "does not exists" and other windows errors (todo).
    
    Couldn't get nob to compile and thought #if _WIN32 was the cause, forked already, and then noticed that it doesn't matter, it was something on my end.
    So I decided to just go ahead and fix something, and #ifdef _WIN32 is now just a consistancy/cleanliness bonus.
    Had some trouble with FormatMessage, so helped myself to the answer from stackoverflow.com/questions/455434
    wysiengnik11 authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    347dba1 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Upgrade windows error handling

    Just made a little function and started blasting.
    wysiengnik11 authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    473e551 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from wysiengnik11/wysiengnik11-patch-1

    Upgrade windows error handling
    wysiengnik11 authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    c6ddd2f View commit details
    Browse the repository at this point in the history
  3. Update nob.h

    That wasn't supposed to be in there...
    wysiengnik11 authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    007daa2 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Roll back an accidental over-eagarness

    When implementing previous changes to windows error reporting, exit status of user ran commands would get ran through nob_get_last_windows_error_name and return erroneous windows error messages.
    wysiengnik11 authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    24994c9 View commit details
    Browse the repository at this point in the history