Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site wdl1.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!lll-crg!qantel!hplabs!fortune!wdl1!jbn From: jbn@wdl1.UUCP Newsgroups: net.bugs.4bsd Subject: netstat / YP incompatibility Message-ID: <865@wdl1.UUCP> Date: Fri, 15-Nov-85 21:21:52 EST Article-I.D.: wdl1.865 Posted: Fri Nov 15 21:21:52 1985 Date-Received: Sat, 23-Nov-85 00:11:14 EST Sender: notes@wdl1.UUCP Organization: Ford Aerospace, Western Development Laboratories Lines: 18 Nf-ID: #N:wdl1:71800001:000:516 Nf-From: wdl1!jbn Nov 15 15:14:00 1985 Index: ucb/netstat/*.c 4.2BSD Description: When compiled with SUN yellow pages code present, dumps core. Cause: Use of word "socket" as a variable name ("struct socket socket") clashes with use of word "socket" as name of a system call, causing call to "socket" inside yellow pages library to transfer control to a data object, generally resulting in nonproductive program behavior. Fix: Find all occurences of the variable "socket" and change them to something else, such as "wsocket". John Nagle