only used if HAVE_NOFOLLOW

This commit is contained in:
Pierre Joye 2014-05-17 05:50:01 +02:00
parent c0bd24b502
commit 0ba3aec5f7

View file

@ -121,7 +121,9 @@ static void ps_files_close(ps_files *data)
static void ps_files_open(ps_files *data, const char *key TSRMLS_DC)
{
char buf[MAXPATHLEN];
#ifdef O_NOFOLLOW
struct stat sbuf;
#endif
if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) {
if (data->lastkey) {