Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 10474 invoked from network); 22 Aug 2009 14:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Aug 2009 14:27:40 -0000 Received: (qmail 63633 invoked by uid 500); 22 Aug 2009 14:28:00 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 63556 invoked by uid 500); 22 Aug 2009 14:28:00 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 63547 invoked by uid 99); 22 Aug 2009 14:28:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 14:28:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 14:27:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DBBA823888FF; Sat, 22 Aug 2009 14:27:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r806859 - /commons/sandbox/runtime/trunk/src/main/native/shared/ini.c Date: Sat, 22 Aug 2009 14:27:38 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090822142738.DBBA823888FF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Sat Aug 22 14:27:38 2009 New Revision: 806859 URL: http://svn.apache.org/viewvc?rev=806859&view=rev Log: Add few comments Modified: commons/sandbox/runtime/trunk/src/main/native/shared/ini.c Modified: commons/sandbox/runtime/trunk/src/main/native/shared/ini.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/ini.c?rev=806859&r1=806858&r2=806859&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/shared/ini.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/shared/ini.c Sat Aug 22 14:27:38 2009 @@ -153,7 +153,8 @@ static char *expand_envars(char *s) { - /* TODO: Implement + /* TODO: Implement ${ENV} expansion. + * This should go in env.c */ return s; } @@ -163,6 +164,12 @@ ini_section_free(root); } +/* + * TODO: + * Use replacement file stdio api once when finished + * so we can use ucs2 file names and portable fgets. + * fopen, fgets and fclose need ACR replacement functions. + */ ACR_DECLARE(ini_section_t *) ACR_IniLoadIni(JNIEnv *_E, const char *fname) { FILE *fp;