<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/libini/patches/" rel="alternate"/><link href="https://sourceforge.net/p/libini/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/libini/patches/</id><updated>2011-09-21T05:03:22Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Pascal binding for libini</title><link href="https://sourceforge.net/p/libini/patches/5/" rel="alternate"/><published>2011-09-21T05:03:22Z</published><updated>2011-09-21T05:03:22Z</updated><author><name>Keith Bowes</name><uri>https://sourceforge.net/u/zooplah/</uri></author><id>https://sourceforge.netc6896e23a89853cae332fc0abb65a14cafa8fa64</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm attaching a Pascal binding that I created for use in my project.  I hope others find it useful as well.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>INI Key searching</title><link href="https://sourceforge.net/p/libini/patches/4/" rel="alternate"/><published>2009-04-23T15:04:28Z</published><updated>2009-04-23T15:04:28Z</updated><author><name>Jim Edwards</name><uri>https://sourceforge.net/u/jimbo333/</uri></author><id>https://sourceforge.net8b43c224fc7b63b7ed07a35223922b841a10f14c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have added two new functions for searching through INI keys:&lt;/p&gt;
&lt;p&gt;ini_locateFirstKey()   - Returns and selects the first key.&lt;br /&gt;
ini_LocateNextKey()  - Returns and select the next key.&lt;/p&gt;
&lt;p&gt;This is different then the previous patch submitted with similar functionality, this worked better in my application.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alternative RPM SPEC for libini</title><link href="https://sourceforge.net/p/libini/patches/3/" rel="alternate"/><published>2005-07-19T13:01:08Z</published><updated>2005-07-19T13:01:08Z</updated><author><name>John Pye</name><uri>https://sourceforge.net/u/jdpipe/</uri></author><id>https://sourceforge.net53e585fe46fa98a5b87e53f467f7b19bfd5cf46a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is a new version of the spec file for the source&lt;br /&gt;
RPM. It puts libini in the default location /usr/lib&lt;br /&gt;
and adds missing build-time and run-time dependencies&lt;br /&gt;
on tcl.&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
JP&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>proposal 1.1.10</title><link href="https://sourceforge.net/p/libini/patches/2/" rel="alternate"/><published>2004-08-18T09:26:11Z</published><updated>2004-08-18T09:26:11Z</updated><author><name>Karel</name><uri>https://sourceforge.net/u/karelvanroye/</uri></author><id>https://sourceforge.netbca1ecdbe045ad364ea438b80561bc19f04562f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I used your libini. It was a great help.&lt;br /&gt;
I feel free to give you the update I did in order that I &lt;br /&gt;
could use it.&lt;br /&gt;
I hope you can make some time to eventually release it &lt;br /&gt;
on this site.&lt;/p&gt;
&lt;p&gt;Note: around this c lib I created a wrapper class; just &lt;br /&gt;
tell me if you are interessed then I send you that source &lt;br /&gt;
as well.&lt;/p&gt;
&lt;p&gt;ChangeLog:&lt;/p&gt;
&lt;p&gt;Fixed:&lt;/p&gt;
&lt;p&gt;Modified:&lt;/p&gt;
&lt;p&gt;*libini.so is renamed to libgccini.so so -l option should be &lt;br /&gt;
changed to -lgccini&lt;br /&gt;
*Ini parser is case insensitive for headings and keys&lt;br /&gt;
- changed files:&lt;br /&gt;
- heading.i: __ini_locateHeading (ini_t *ini, const &lt;br /&gt;
char *heading)&lt;br /&gt;
- key.i:     __ini_locateKey (ini_t *ini, const char &lt;br /&gt;
*key)&lt;br /&gt;
- ini.cpp:   __ini_createCrc32 (const char *pBuf, &lt;br /&gt;
size_t length)&lt;br /&gt;
*ini_store starts writing with a space ' ' see also bugs&lt;br /&gt;
*ini_readInt returns zero only if succesful conversion is &lt;br /&gt;
done.&lt;br /&gt;
*ini_readDouble returns zero only if succesful conversion &lt;br /&gt;
is done.&lt;br /&gt;
*ini_readLong returns zero only if succesful conversion is &lt;br /&gt;
done.&lt;br /&gt;
*ini_readBool true has now synoniem yes, on; false has &lt;br /&gt;
no, off&lt;br /&gt;
*libini.spec.in: make it compactible with red hat 5.2 rpm &lt;br /&gt;
2.5.5&lt;/p&gt;
&lt;p&gt;Added:&lt;/p&gt;
&lt;p&gt;*support for exploring an ini file by indeces&lt;br /&gt;
- function int ini_locateKeyIndex(ini_fd_t fd, const int &lt;br /&gt;
key);&lt;br /&gt;
- function int ini_locateKeys    (ini_fd_t fd);&lt;br /&gt;
- function int ini_locateHeadingIndex (ini_fd_t fd, const &lt;br /&gt;
int heading);&lt;br /&gt;
- funciton int ini_locateHeadings(ini_fd_t fd);&lt;br /&gt;
- function const char * INI_LINKAGE ini_currentKey  &lt;br /&gt;
(ini_fd_t fd);&lt;br /&gt;
- function const char * INI_LINKAGE ini_currentHeading&lt;br /&gt;
(ini_fd_t fd);&lt;/p&gt;
&lt;p&gt;*bugs:&lt;br /&gt;
- I didn't check support for SWIG translations... and &lt;br /&gt;
also no VB, VC check&lt;br /&gt;
- when an ini-file starts with "key=value" the 'k' is &lt;br /&gt;
disappeared (already in V1.9)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CVS patch for ini_open bug</title><link href="https://sourceforge.net/p/libini/patches/1/" rel="alternate"/><published>2002-09-09T13:26:26Z</published><updated>2002-09-09T13:26:26Z</updated><author><name>Simon White</name><uri>https://sourceforge.net/u/userid-59929/</uri></author><id>https://sourceforge.net207e3fe252eae4a0823f6fc2fb1395d515966cac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;--- ini.cpp     Mon Sep  9 14:18:15 2002&lt;br /&gt;
+++ ini.new     Mon Sep  9 14:10:00 2002&lt;br /&gt;
@@ -290,18 +290,19 @@&lt;br /&gt;
ini-&amp;amp;gt;mode = mode;&lt;br /&gt;
file = fopen (ini-&amp;amp;gt;filename, &amp;amp;quot;rb&amp;amp;quot;);&lt;br /&gt;
if (!file)&lt;br /&gt;
-    {   // File doesn't exist and we are not allowed&lt;br /&gt;
-        // to create one&lt;br /&gt;
+    {   // File doesn't exist so check if allowed&lt;br /&gt;
+        // to create new one&lt;br /&gt;
if (mode != INI_NEW)&lt;br /&gt;
goto ini_openError;&lt;/p&gt;
&lt;p&gt;-        // Seems we can make so new one, check and&lt;br /&gt;
+        // Seems we can make a new one, check and&lt;br /&gt;
// make sure&lt;br /&gt;
file = fopen (ini-&amp;amp;gt;filename, &amp;amp;quot;wb&amp;amp;quot;);&lt;br /&gt;
if (!file)&lt;br /&gt;
goto ini_openError;&lt;br /&gt;
ini-&amp;amp;gt;newfile = true;&lt;br /&gt;
fclose (file);&lt;br /&gt;
+        file = NULL;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// Open backup file&lt;br /&gt;
@@ -320,6 +321,7 @@&lt;br /&gt;
{   // Process existing ini file&lt;br /&gt;
if (__ini_process (ini, file, comment) &amp;amp;lt; 0)&lt;br /&gt;
goto ini_openError;&lt;br /&gt;
+        fclose (file);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// Rev 1.1 Added - Changed set on open bug fix&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>