cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::cwd
Fix all callers.
This commit is contained in:
committed by
Corinna Vinschen
parent
be436ad2a3
commit
571b7689bb
@@ -498,7 +498,7 @@ format_process_cwd (void *data, char *&destbuf)
|
||||
cfree (destbuf);
|
||||
destbuf = NULL;
|
||||
}
|
||||
destbuf = p->cwd (fs);
|
||||
destbuf = p ? p->cwd (fs) : NULL;
|
||||
if (!destbuf || !*destbuf)
|
||||
{
|
||||
destbuf = cstrdup ("<defunct>");
|
||||
|
Reference in New Issue
Block a user