Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 59
    • Merge Requests 59
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GLib
  • Repository

Switch branch/tag
  • glib
  • gio
  • tests
  • gdbus-example-unix-fd-client.c
Find file BlameHistoryPermalink
  • Philip Withnall's avatar
    glib: Don’t use time(NULL) to get current time · 92e05928
    Philip Withnall authored Jul 06, 2018
    Use either g_get_real_time() or g_date_time_new_now_local(). This means
    we don’t need to worry about time_t being 32b in future (the year 2038
    problem), and it makes the need for error handling a bit more explicit.
    Improve the error handling in several cases.
    
    Based on a patch by Niels De Graef
    (!142).
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    
    #1402
    92e05928
gdbus-example-unix-fd-client.c 3.84 KB
EditWeb IDE

Replace gdbus-example-unix-fd-client.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.