Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 859
    • Issues 859
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Repository
Switch branch/tag
  • glib
  • glib
  • gfileutils.c
Find file BlameHistoryPermalink
  • Philip Withnall's avatar
    gfileutils: Fix O_NOFOLLOW handling on BSD systems · b4aa9d78
    Philip Withnall authored Jul 27, 2020
    Various different BSD systems use a different errno from `E_LOOP` (as
    defined by POSIX and used on Linux) to indicate that a file is a symlink
    when you try to `open()` it with `O_NOFOLLOW`.
    
    Fix the code which detects this. This is a follow-up to #1302
    
    .
    
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    b4aa9d78