[PATCH 3/3] Remove now-misleading comment
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Oct 24 14:37:21 PDT 2010
Mikhail Gusarov wrote:
> Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
> ---
> os/log.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/os/log.c b/os/log.c
> index 94f76aa..f5dfdbf 100644
> --- a/os/log.c
> +++ b/os/log.c
> @@ -177,7 +177,6 @@ LogInit(const char *fname, const char *backup)
> char *logFileName = NULL;
>
> if (fname && *fname) {
> - /* malloc() can't be used yet. */
> logFileName = malloc(strlen(fname) + strlen(display) + 1);
> if (!logFileName)
> FatalError("Cannot allocate space for the log file name\n");
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list