There was no special intention behind the trailing slash and I agree that it could be removed to be more consistent with common ways to specify paths. Implementations should behave properly either way.
Cheers, Waldo Intel Corporation - Platform Software Engineering, UMG - Hillsboro, Oregon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanel Zukan Sent: Friday, April 27, 2007 11:19 AM To: [EMAIL PROTECTED] Subject: XDG_DATA_DIRS consistency Hi to all, I would like to ping about XDG_DATA_DIRS (Base directory specs) and default value which is "/usr/local/share/:/usr/share/". Note that in the specs, only default values for this (when a directory is named) is ending with slashes, which is not consistent with other default ones, nor is a common way of setting multiple directories in an environment variable. Is there any reason why this could not be "/usr/local/share:/usr/share" ? AFAIK for all directory variables in specs, is expected that application do the following construction for the path: get_xdg_dir() + separator() + file or another directory Two slashes in the path will not kill anyone, but it would not be a nice if one see a message box with "Can't open /usr/local/share//foo" (my random thought :)). Best, -- Sanel _______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg _______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg