chiark / gitweb /
Stop talking about the "XDG" version of basename()
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 17 Jun 2015 10:23:46 +0000 (11:23 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:03:03 +0000 (10:03 +0100)
commita4b49e45f7fb56d4456ef20b343105fa0dbda069
treedd91ba87e8276481bffdaf583be5b7eb3a051336
parent27b793f238ce93e7b8df3a13c32af6f861f566d2
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.
src/libelogind/sd-bus/bus-kernel.c