On Sunday, February 23, 2014 11:58:36 AM Raphaël Proust wrote: > Comment: > The manpage states > > > if a given session name starts either with a dot or a forward slash > > it is interpreted as a path name and used unmodified i.e. relatively to > > the > > current working directory. > > That seems a bit surprising. Either the wording and the functionality > differ or the functionality is very surprising. I'd expect > > > if a given session name starts with a forward slash > > it is interpreted as an absolute path, if a dot followed > > by a slash (./) it is interpreted a relative path.
Actually it is exactly as is stated: if (name[0] == '.' || name[0] == '/') { strncpy(sockaddr.sun_path, name, maxlen); -- Dmitrij D. Czarkoff