* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error

condition from cmdline retrieval.
This commit is contained in:
Christopher Faylor 2002-11-05 03:21:32 +00:00
parent 43a299881f
commit 8948b6585d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-04 Christopher Faylor <cgf@redhat.com>
* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
condition from cmdline retrieval.
2002-11-04 Christopher Faylor <cgf@redhat.com>
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to highest priority.

View File

@ -301,7 +301,7 @@ fhandler_process::fill_filebuf ()
if (filebuf)
free (filebuf);
filebuf = p->cmdline (filesize);
if (!*filebuf)
if (!filebuf || !*filebuf)
filebuf = strdup ("<defunct>");
break;
}