From owner-cvs-all Tue Apr 30 23:49:47 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0ADEC37B416; Tue, 30 Apr 2002 23:49:44 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g416niA89157; Tue, 30 Apr 2002 23:49:44 -0700 (PDT) (envelope-from peter) Message-Id: <200205010649.g416niA89157@freefall.freebsd.org> From: Peter Wemm Date: Tue, 30 Apr 2002 23:49:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/nfsd nfsd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2002/04/30 23:49:43 PDT Modified files: sbin/nfsd nfsd.c Log: Make this compile and not segfault on ia64. ptr = strdup("foo"); is fatal if the declaration of strdup() isn't in scope. The upper 32 bits of the pointer are lost since it defaults to returning "int". Fix some warnings while here, including trying to make gcc-3.1 happy. Revision Changes Path 1.24 +4 -3 src/sbin/nfsd/nfsd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message