🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #571

Bad parameter declaration in bin/ld +FIX

#571
From: Rich Salz
Date: Fri, 06 Mar 1987 15:29
34 lines
1608 bytes
Sorry I can't find an official bug form around...

The routine load2td in bin/ld.c on the 4.3BSD tape (and, I believe,
on the 4.2 tape as well) has a parameter name/declaration mis-match.
It's okay if sizeof(int) == sizeof(long), but I don't know why it
wasn't until compiling CLE Pyramid C compiler that I noticed this...
(And while I'm here, when will bin/ld.c be split up into subfiles? :-)
	/rich $alz

*** ld.c	Sat Jan 11 14:42:58 1986
--- ld.new.c	Fri Mar  6 10:26:09 1987
***************
*** 1325,1331
   * each relocation datum address by our base position in the new segment.
   */
  load2td(creloc, position, b1, b2)
! 	long creloc, offset;
  	struct biobuf *b1, *b2;
  {
  	register struct nlist *sp;

--- 1325,1331 -----
   * each relocation datum address by our base position in the new segment.
   */
  load2td(creloc, position, b1, b2)
! 	long creloc, position;
  	struct biobuf *b1, *b2;
  {
  	register struct nlist *sp;
-- 
--
Rich $alz					"Drug tests p**s me off"
Mirror Systems, Cambridge Massachusetts		rs@mirror.TMC.COM
{adelie, mit-eddie, ihnp4, harvard!wjh12, cca, cbosgd, seismo}!mirror!rs
Technical Details
Message-ID: <2121@mirror.TMC.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!pyrnj!mirror!rs

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!pyrnj!mirror!rs
From: rs@mirror.TMC.COM (Rich Salz)
Newsgroups: comp.bugs.4bsd
Subject: Bad parameter declaration in bin/ld +FIX
Message-ID: <2121@mirror.TMC.COM>
Date: Fri, 6-Mar-87 10:29:59 EST
Article-I.D.: mirror.2121
Posted: Fri Mar  6 10:29:59 1987
Date-Received: Sun, 8-Mar-87 06:35:35 EST
Organization: Mirror Systems, Inc., Cambridge MA
Lines: 34