<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libpwdgrp, branch FRP</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=FRP</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=FRP'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2015-02-19T21:03:56+00:00</updated>
<entry>
<title>libpwdgrp: fix thinko in getpwnam</title>
<updated>2015-02-19T21:03:56+00:00</updated>
<author>
<name>Tito Ragusa</name>
<email>farmatito@tiscali.it</email>
</author>
<published>2015-02-19T21:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cb6a112f09c3b5dfe94b5c365ca50df4dcc05520'/>
<id>urn:sha1:cb6a112f09c3b5dfe94b5c365ca50df4dcc05520</id>
<content type='text'>
function                                             old     new   delta
parse_file                                             -      64     +64
getXXnam_r                                           162     138     -24
getXXnam                                              90      50     -40
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 64/-64)              Total: 0 bytes

Signed-off-by: Tito Ragusa &lt;farmatito@tiscali.it&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: use getpwent() instead of getpwent_r()</title>
<updated>2015-02-07T20:21:02+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-02-07T20:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=23cfaab47de7392c1ba7d601a05fb36da3629b28'/>
<id>urn:sha1:23cfaab47de7392c1ba7d601a05fb36da3629b28</id>
<content type='text'>
function                                             old     new   delta
massage_data_for_non_r_func                            -      90     +90
bb_internal_getpwent                                   -      69     +69
getXXnam_r                                            94     162     +68
fill_bounds                                          131     128      -3
deluser_main                                         355     310     -45
complete_username                                    123      78     -45
getXXnam                                             163      90     -73
massage_data_for_r_func                              103       -    -103
bb_internal_getpwent_r                               121       -    -121
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/5 up/down: 227/-407)         Total: -163 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: line counting in error meesages is broken, remove it</title>
<updated>2015-01-06T00:22:36+00:00</updated>
<author>
<name>Tito Ragusa</name>
<email>farmatito@tiscali.it</email>
</author>
<published>2015-01-06T00:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e5cae08f1232e66daca8f47f0f257a83a0cca9fa'/>
<id>urn:sha1:e5cae08f1232e66daca8f47f0f257a83a0cca9fa</id>
<content type='text'>
Signed-off-by: Tito Ragusa &lt;farmatito@tiscali.it&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: fixes suggested by Tito, comment tweaks</title>
<updated>2015-01-05T14:09:04+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-05T14:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c5d4a04e450b961e354e985058bd69a0f7b7bc2d'/>
<id>urn:sha1:c5d4a04e450b961e354e985058bd69a0f7b7bc2d</id>
<content type='text'>
function                                             old     new   delta
bb_internal_getpwent_r                               100     121     +21
parse_common                                         202     203      +1

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: another code shrink</title>
<updated>2015-01-04T01:34:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-04T01:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=db4d1051ca5e9b4cc1fd2d1872194874f09e3b35'/>
<id>urn:sha1:db4d1051ca5e9b4cc1fd2d1872194874f09e3b35</id>
<content type='text'>
function                                             old     new   delta
massage_data_for_r_func                                -     110    +110
bb_internal_getpwent_r                               173     100     -73
getXXnam_r                                           176      95     -81
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 110/-154)          Total: -44 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: code shrink</title>
<updated>2015-01-04T01:02:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-04T01:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5acf1346b463a41373f5a8c1df424c5f1646a4f9'/>
<id>urn:sha1:5acf1346b463a41373f5a8c1df424c5f1646a4f9</id>
<content type='text'>
function                                             old     new   delta
parse_common                                         206     205      -1
getgrouplist_internal                                229     225      -4
bb_internal_getpwent_r                               182     173      -9
getXXnam                                             232     222     -10
getXXnam_r                                           216     176     -40
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-64)             Total: -64 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: getgrXXX: empty string is not a member name, do not store it</title>
<updated>2015-01-03T20:16:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-03T20:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=12fc86956057ac3e679dd276ba3897260b95157e'/>
<id>urn:sha1:12fc86956057ac3e679dd276ba3897260b95157e</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>fix a SEGV in previous commit</title>
<updated>2015-01-03T20:11:27+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-03T20:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=402451aa19521908125c9aeeb52e91fd4032948b'/>
<id>urn:sha1:402451aa19521908125c9aeeb52e91fd4032948b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: fix counting of commas in group list</title>
<updated>2015-01-03T20:03:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-03T20:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f9936676bb7fd57ea2256af2247c970d1ed3f906'/>
<id>urn:sha1:f9936676bb7fd57ea2256af2247c970d1ed3f906</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libpwdgrp: store getXXnam result in a single malloc block</title>
<updated>2015-01-03T19:47:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-01-03T19:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=134c53098bdcbf7a0c34b60b97c46280d86eb48f'/>
<id>urn:sha1:134c53098bdcbf7a0c34b60b97c46280d86eb48f</id>
<content type='text'>
This saves a bit of memory but more importantly, allows to create
xmalloc_getpwnam() API where result can be deleted simply using free().

function                                             old     new   delta
getXXnam                                             134     173     +39
parse_common                                         188     212     +24
convert_to_struct                                    277     290     +13
get_S                                                 90      88      -2
tokenize                                             129     126      -3
bb_internal_getpwent_r                               175     172      -3
getXXnam_r                                           208     198     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/4 up/down: 76/-18)             Total: 58 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
