🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264327

Re: trn 4 and UTF-8

#264327
From: Ambrose
Date: Wed, 12 Aug 2020 21:05
33 lines
2144 bytes
In article <eli$2008121421@qaz.wtf>,
Eli the Bearded  <*@eli.users.panix.com> wrote:
>
>Hmmm. Guess I should have started with `gmake -f GNUmakefile` 
>
>That gets me to here:
>
>cc -c -O -I/usr/local/include filter.c
>filter.c:28:22: error: 'pipe2' redeclared as different kind of symbol
> static int pipe1[2], pipe2[2];
>                      ^~~~~
>In file included from config2.h:11:0,
>                 from common.h:12,
>                 from filter.c:7:
>/usr/include/unistd.h:364:6: note: previous declaration of 'pipe2' was here
> int  pipe2(int *, int);
>      ^~~~~
>*** Error code 1
>
>It looks like you renamed "pipe_2" to "pipe2" to match "pipe1", but
>there was a good reason for not using "pipe2". I copied in filter.c from
>the test77 version of trn4 and the compile completed.

Thank you. I guess I’ll have to learn how to edit the makefile the proper way.

I don’t remember renaming pipe_2, and nothing’s showing on git. I’ll try to
figure out what happened there. Thank you again.

(Update: I checked my copy of 4.0-test77 and it says pipe2. I’ll try to download
a fresh copy and see if I got a corrupted copy two weeks ago.)

-- 
(*$insert_signature_here*)
Technical Details
Message-ID: <rh1ljd$15uo$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <rganif$m4h$1@neodome.net> <eli$2008121328@qaz.wtf> <rh1a5o$73f$1@gioia.aioe.org> <eli$2008121421@qaz.wtf>

Show Full Headers
Complete Article Headers
Message-ID: <rh1ljd$15uo$1@gioia.aioe.org>
Subject: Re: trn 4 and UTF-8
Date: Wed, 12 Aug 2020 21:05:49 +0000
From: ambrose@pingviini.invalid (Ambrose)
References: <rganif$m4h$1@neodome.net> <eli$2008121328@qaz.wtf> <rh1a5o$73f$1@gioia.aioe.org> <eli$2008121421@qaz.wtf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Lines: 33
X-Complaints-To: abuse@aioe.org
Content-Type: text/plain; charset="UTF-8"
Organization: A little potato
Newsgroups: news.software.readers
X-Newsreader: trn 4.0-test77+utf8 (Aug 11, 2020; e0f2189+ github.com)
X-Notice: Filtered by postfilter v. 0.9.2
Originator: ambrose@pingviini.invalid (Ambrose)
Nntp-Posting-Host: 512hp8zj8QVRVd8Dz+yI0g.user.gioia.aioe.org