From 0cb069a6b1e9e597318e0890b0b565261d06acd4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 27 Mar 2009 08:58:28 +0000 Subject: [PATCH] Use lstat. No change yet due to realpath call in tmux.c. --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index dc15bdfa..23112fb1 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.43 2009-02-08 16:11:26 nicm Exp $ */ +/* $Id: client.c,v 1.44 2009-03-27 08:58:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -48,7 +48,7 @@ client_init( struct buffer *b; char *name; - if (stat(path, &sb) != 0) { + if (lstat(path, &sb) != 0) { if (start_server && errno == ENOENT) { if ((cctx->srv_fd = server_start(path)) == -1) goto start_failed;