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

Backport g_autofd and g_clear_fd, cleanup GLib backports #1493

Merged
merged 5 commits into from
Oct 29, 2024

Commits on Oct 29, 2024

  1. project: Bump minimum GLib version to 2.72

    This is available in Ubuntu 22.04, let's use it.
    GeorgesStavracas committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    9a89983 View commit details
    Browse the repository at this point in the history
  2. fuse: Use g_memdup2()

    g_memdup() is unsafe, and deprecated. Use g_memdup2() instead.
    GeorgesStavracas committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ca3030a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8d4403 View commit details
    Browse the repository at this point in the history
  4. project: Use g_{steal,clear}_fd and g_autofd

    Project-wide replacement of our internal macros to GLib macros.
    
    Older GLib versions are covered by the backports of the previous
    commit.
    
    The big difference here is that g_clear_fd() takes an error, so
    adapt the few callers to that.
    GeorgesStavracas committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    04c5e43 View commit details
    Browse the repository at this point in the history
  5. glib-backports: Remove obsoleted backports

    They're not necessary now that we depend on GLib >= 2.72
    GeorgesStavracas committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    252b09f View commit details
    Browse the repository at this point in the history