From owner-freebsd-current Tue Aug 19 06:32:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA05436 for current-outgoing; Tue, 19 Aug 1997 06:32:57 -0700 (PDT) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA05429 for ; Tue, 19 Aug 1997 06:32:50 -0700 (PDT) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id JAA21017; Tue, 19 Aug 1997 09:32:51 -0400 From: Bill Paul Message-Id: <199708191332.JAA21017@skynet.ctr.columbia.edu> Subject: Re: another make world problem To: asami@cs.berkeley.edu (Satoshi Asami) Date: Tue, 19 Aug 1997 09:32:49 -0400 (EDT) Cc: andreas@klemm.gtn.com, current@freebsd.org In-Reply-To: <199708190145.SAA12016@vader.cs.berkeley.edu> from "Satoshi Asami" at Aug 18, 97 06:45:03 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Of all the gin joints in all the towns in all the world, Satoshi Asami had to walk into mine and say: > * cc -pipe -O -DYP -c /usr/src/usr.bin/chkey/../newkey/update.c > > Is this command really from "make world"? If so, there is something > clearly missing here. > > Satoshi No. The chkey and newkey commands use the same update.c module since they both submit changes to the publickey database the same way (via yp_update() using Secure RPC). Both programs need the same code, but having two copies of update.c is wasteful, so chkey grabs newkey's copy with PATH:. There isn't enough of this common code to justify making a library out of it, and it doesn't belong src/libc/rpc, so this was the best way I could think of to do it. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" =============================================================================