Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
N
nx-libs
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • dimbor
  • nx-libs
  • Repository

Switch branch/tag
  • nx-libs
  • nx-X11
  • programs
  • Xserver
  • xkb
  • xkbconfig.c
Find file
BlameHistoryPermalink
  • Alan Coopersmith's avatar
    Replace _XkbDupString with Xstrdup · bdfb5219
    Alan Coopersmith authored Feb 13, 2011
    The two functions have identical semantics, including safely returning
    NULL when NULL is passed in (which POSIX strdup does not guarantee).
    
    Some callers could probably be adjusted to call libc strdup directly,
    when we know the input is non-NULL.
    Signed-off-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: 's avatarDaniel Stone <daniel@fooishbar.org>
    Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
    bdfb5219
xkbconfig.c 36.6 KB
EditWeb IDE

Replace xkbconfig.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.