Skip to content

GitLab

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

Switch branch/tag
  • weston
  • clients
  • simple-egl.c
Find file BlameHistoryPermalink
  • Pekka Paalanen's avatar
    clients: fix len-string formatting · 1ca4ed20
    Pekka Paalanen authored Sep 23, 2019
    All these have the printf format string wrong. "%*s" sets the field width but
    does not limit the string to len bytes. You need to set precision instead to
    limit to len bytes: "%.*s".
    
    Found by grepping, after wondering why my WIP prints printed garbage at the
    end.
    Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
    1ca4ed20
simple-egl.c 22.6 KB
EditWeb IDE

Replace simple-egl.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.