[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor compilation patch
From: |
Muhlenberg, Fred A (N-Sun Microsystems) |
Subject: |
Minor compilation patch |
Date: |
Mon, 14 Jun 2004 15:46:31 -0400 |
I grant permission to distribute this patch under the terms of the GNU
Public License.
------------------------------------------------------------------------
----------------------------------------------
When compiling CVS on an old IBM AIX 7013/560 Version 3.2. I have
found some compilation errors when compiling the CVS versions 1.11.16
and 1.11.17 sources. The purpose of these fixes is to allow the compiler
to cleanly compile the sources.
My corrections are as follows:
% diff recurse.c /tmp/recurse.original.c
640d639
< char *str = strstr (repository, "/./");
643c642
< assert (str == NULL);
---
> assert (strstr (repository, "/./") == NULL);
684d682
< char *str = "Not reached. Please report this problem to
<bug-cvs@gnu.org>";
686c684
< assert ( str == NULL);
---
> assert (!"Not reached. Please report this problem to
<bug-cvs@gnu.org>");
Fred Muhlenberg
- Minor compilation patch,
Muhlenberg, Fred A (N-Sun Microsystems) <=