<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>27974</bug_id>
          
          <creation_ts>2012-11-14 13:32:57 +0400</creation_ts>
          <short_desc>При вызове ini_config_set в конец файла добавляется пустая строка</short_desc>
          <delta_ts>2012-11-14 17:37:26 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libshell</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>glebfm</cc>
    
    <cc>legion</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>134838</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-11-14 13:32:57 +0400</bug_when>
    <thetext>При каждом вызове ini_config_set в конец файла добавляется пустая строка.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134840</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2012-11-14 13:54:51 +0400</bug_when>
    <thetext>поясни</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134847</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-11-14 15:32:01 +0400</bug_when>
    <thetext>[user@host-15 ~]$ touch config.ini
[user@host-15 ~]$ . /bin/shell-ini-config 
[user@host-15 ~]$ ini_config_set config.ini global param1 val1
[user@host-15 ~]$ cat config.ini 

[global]
        param1 = val1
[user@host-15 ~]$ ini_config_set config.ini global param1 val2
[user@host-15 ~]$ cat config.ini 

[global]
        param1 = val2

[user@host-15 ~]$ ini_config_set config.ini global param1 val3
[user@host-15 ~]$ cat config.ini 

[global]
        param1 = val3


[user@host-15 ~]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134849</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2012-11-14 16:27:31 +0400</bug_when>
    <thetext>0.1.7-alt1-2-g4f7172d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134851</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-11-14 17:19:09 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; 0.1.7-alt1-2-g4f7172d
Да, всё работает. Можно закрывать сборкой пакета.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134854</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-11-14 17:37:26 +0400</bug_when>
    <thetext>libshell-0.1.8-alt1 -&gt; sisyphus:

* Wed Nov 14 2012 Alexey Gladkov &lt;legion@altlinux&gt; 0.1.8-alt1
- shell-ini-config changes:
  + Fix empty lines at EOF (ALT#27974).
  + Indentation in the ini-file can be configured by
    shell_ini_config_prefix (ALT#27915).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>