🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17648

Linux compilation problem (was Re: Diablo V1.08 RELEASED (Major Release))

#17648
From: Matt Dillon
Date: Thu, 08 May 1997 00:00
27 lines
1470 bytes
:In article <5ks1ie$bei$1@flea.best.net>,
:Matt Dillon <dillon@flea.best.net> wrote:
:>    Diablo V1.08 has been released.  This released represents a MAJOR 
>    upgrade.  Please read the RELEASE_NOTES and INSTALL instructions
:...

    There is a linux compilation problem in release V1.08.  the problem
    stems from diablo doing this:

	fileno(fi) = -1;

    Why?  Well, because I use fdopen() and I don't want fclose() to close
    the descriptor.  I can't dup() the descriptor for the fdopen() because
    closing the dup'd descriptor will release the record locks, so I'm
    stuck.

    Anyone have any solutions?   The only thing I can think of is to
    manually overwrite the appropriate field in the FILE structure.

    stdio needs a library call to disconnect a descriptor from a stdio
    file handle...

						-Matt


Technical Details
Message-ID: <5ktamh$i6l$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5ks1ie$bei$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <5ktamh$i6l$1@flea.best.net>
Subject: Linux compilation problem (was Re: Diablo V1.08 RELEASED (Major Release))
Date: Thu, 08 May 1997 00:00:00 +0000
From: dillon@flea.best.net (Matt Dillon)
References: <5ks1ie$bei$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 240292304
Distribution: best
Organization: BEST Internet Communications, Inc.
Newsgroups: news.software.nntp