bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] making INETUTILS (1.4.2) under AIX 4.3


From: Jeroen Dekkers
Subject: Re: [bug-inetutils] making INETUTILS (1.4.2) under AIX 4.3
Date: Wed, 28 Apr 2004 12:00:00 +0200
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At 28 Apr 2004 07:56:51 +0100,
Steve Tucknott wrote:
> We get the following error when making the package under AIX:
> 
>      source='ttymsg.c' object='ttymsg.o' libtool=no 
> depfile='.deps/ttymsg.Po' tmpdepfile='.deps/ttymsg.TPo'  depmode=aix
> /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..
> -DPATH_WTMPX=\"/usr/local/var/log/wtmpx\"    -I../include     -g -c
> `test -f 'ttymsg.c' || echo './'`ttymsg.c
> "ttymsg.c", line 135.15: 1506-025 (S) Operand must be a modifiable
> lvalue.
> make: The error code from the last command is 1.
> 
> 
> Stop.
> make: The error code from the last command is 1.
> 
> 
> Stop.
> make: The error code from the last command is 2.
> 
> 
> Stop.
> 
> We are not C literate, so could do with some help in rectifying the
> problem.

This patch (already in CVS) fixes the problem:

Index: ttymsg.c
===================================================================
RCS file: /cvsroot/inetutils/inetutils/libinetutils/ttymsg.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -u -p -r1.14 -r1.15
--- ttymsg.c    1 Nov 2001 15:52:19 -0000       1.14
+++ ttymsg.c    21 May 2003 15:00:14 -0000      1.15
@@ -132,7 +132,7 @@ ttymsg (struct iovec *iov, int iovcnt, c
            }
          if (wret)
            {
-             (char *)iov->iov_base += wret;
+             iov->iov_base = (char *)iov->iov_base + wret;
              iov->iov_len -= wret;
            }
          continue;



Jeroen Dekkers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]