[rrd-developers] rrd_graph and flush behavior
Eduardo Bragatto
eduardo at bragatto.com
Tue May 25 23:55:46 CEST 2010
Actually, the following code does the same using less code:
if (*path == '/') /* absolute path */
{
if (! is_unix)
{
rrd_set_error ("absolute path names not allowed when talking "
"to a remote daemon");
return (NULL);
}
}
if (is_unix)
{
realpath (path, resolved_path);
ret = resolved_path;
}
Basically, we want realpath() to be called every time we have a unix
socket, it doesn't matter if it's a relative or absolute path.
- Eduardo Bragatto
More information about the rrd-developers
mailing list