🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.sources.bugs
Article #945

UserFunc in sftw.c in hier(1) from mod.sources called incorrectly

#945
From: michael
Date: Wed, 25 Feb 1987 00:18
12 lines
857 bytes
[REPOSTING]

UserFunc is the name of a parameter to two routines in sftw.c.
It is of type "address of a function returning an int".  It is
called twice and in each case the indirection operator is missing.

That is, the calls to
	... = UserFunc( ... )
should be
	... = (*UserFunc) ( ... )

This generated compiler-time errors using the MS-C 4.00 compiler.
Technical Details
Message-ID: <950@orcisi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!syntron!orcisi!michael

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!syntron!orcisi!michael
From: michael@orcisi.UUCP
Newsgroups: net.sources.bugs
Subject: UserFunc in sftw.c in hier(1) from mod.sources called incorrectly
Message-ID: <950@orcisi.UUCP>
Date: Tue, 24-Feb-87 19:18:14 EST
Article-I.D.: orcisi.950
Posted: Tue Feb 24 19:18:14 1987
Date-Received: Tue, 24-Feb-87 21:35:23 EST
Distribution: net
Organization: Optical Recording Corporation, Toronto, Ontario
Lines: 12