[comp.bugs.4bsd] Bad parameter declaration in bin/ld +FIX

rs@mirror.TMC.COM (Rich Salz) (03/06/87)

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