From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30999 invoked by alias); 10 Jun 2013 17:47:02 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 30970 invoked by uid 89); 10 Jun 2013 17:46:58 -0000 X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_HOSTKARMA_YE,SPF_FAIL,URI_HEX autolearn=no version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 10 Jun 2013 17:46:57 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Um6BD-0004t3-Vz for gcc-help@gcc.gnu.org; Mon, 10 Jun 2013 10:46:56 -0700 Date: Mon, 10 Jun 2013 17:47:00 -0000 From: ballsystemlord To: gcc-help@gcc.gnu.org Message-ID: <1370886415956-945114.post@n5.nabble.com> In-Reply-To: References: <1370879959438-945091.post@n5.nabble.com> Subject: Re: trouble using glob and wordexp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00055.txt.bz2 I checked that three times before posting. The code is: #include To check this using the computer (as apposed to risking human error,) I got rid of the code: struct glob_t globulation leaving behind the call to glob: glob(args, no glob_t passed) and got the response that I needed to pass glob a struct glob_t. -- View this message in context: http://gcc.1065356.n5.nabble.com/trouble-using-glob-and-wordexp-tp945091p945114.html Sent from the gcc - Help mailing list archive at Nabble.com.