]> git.ipfire.org Git - thirdparty/systemd.git/commit - CODING_STYLE
Stop talking about the "XDG" version of basename() 246/head
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 17 Jun 2015 10:23:46 +0000 (11:23 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 17 Jun 2015 10:23:46 +0000 (11:23 +0100)
commit11c9f1e48a683fb2e78ee531016099d567baa19a
treebdb4ab47e2a7334ff333622eb581fcf78240fd3d
parentc986cc70002cf8f28e6ea1e63da46a8124a0882c
Stop talking about the "XDG" version of basename()

XDG refers to X Desktop Group, a former name for freedesktop.org.
This group is responsible for specifications like basedirs,
.desktop files and icon naming, but as far as I know, it has never
tried to redefine basename().

I think these references were meant to say XPG (X/Open Portability
Guide), a precursor of POSIX. POSIX is better-known and less easily
confused with XDG, and is how the basename(3) man page describes
the libgen.h version of basename().

The other version of basename() is glibc-specific and is described
in basename(3) as "the GNU version"; specifically mention that
version, to disambiguate.
CODING_STYLE
src/basic/util.c
src/libsystemd/sd-bus/bus-kernel.c
src/machine/machine-dbus.c