From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: strdup once more, was: Re: [9fans] APE: strdup() From: forsyth@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-smeffxpbznebphydtqduqvipqy" Message-Id: <20011015103245.404C419A2B@mail.cse.psu.edu> Date: Mon, 15 Oct 2001 11:37:45 +0100 Topicbox-Message-UUID: 08f046e8-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-smeffxpbznebphydtqduqvipqy Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit strdup is in the bsd.h extensions (along with getopt). perhaps it wasn't or isn't ANSI; at any rate, that's what APE thinks of it. --upas-smeffxpbznebphydtqduqvipqy Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for forsyth@vitanuova.com id 1003139562:10:00322:2; Mon, 15 Oct 2001 09:52:42 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1111465; 15 Oct 2001 9:51 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A0C8619A2C; Mon, 15 Oct 2001 05:51:10 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from cejchan.gli.cas.cz (cejchan.gli.cas.cz [147.231.139.4]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 01BD119A25 for <9fans@cse.psu.edu>; Mon, 15 Oct 2001 05:50:19 -0400 (EDT) Received: from cej by cejchan.gli.cas.cz with local (Exim 3.22 #1 (Debian)) id 15t4Yo-0000IN-00 for <9fans@cse.psu.edu>; Mon, 15 Oct 2001 12:01:26 +0200 Subject: strdup once more, was: Re: [9fans] APE: strdup() To: 9fans@cse.psu.edu Message-Id: X-Mailer: TkMail 4.0beta9 In-Reply-To: <3BCA9475.DA95168E@strakt.com> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 15 Oct 2001 12:01:26 +0200 oooops, I made a typo when reporting error; actually, the declarations were okay, as you advised: char *parameterfile = NULL; extern char *optarg; ... The problem persists. Apologies to all involved! -pac- --upas-smeffxpbznebphydtqduqvipqy--