On Mon, Oct 25, 2010 at 11:47 AM, Jan Safranek <[email protected]> wrote:
> On 10/21/2010 03:54 PM, Ivana Hutarova Varekova wrote:
>> This patch fixes cgget to put newline character to the end of all lines
>>
>> --------------------------------
>> EXAMPLE:
>> OLD:
>> $ ./cgget -g devices //CBSFxx/Zcz6
>> //CBSFxx/Zcz6:
>> devices.list: a *:* rwm
>> devices.deny: devices.allow:
>>
>> NEW:
>> $ ./cgget -g devices //CBSFxx/Zcz6
>> //CBSFxx/Zcz6:
>> devices.list: a *:* rwm
>> devices.deny:
>> devices.allow:
>>
>> Signed-off-by: Ivana Hutarova Varekova<[email protected]>
>
> Acked-By: Jan Safranek <[email protected]>
>

Acked-by: Dhaval Giani <[email protected]>

>> ---
>>
>>   src/tools/cgget.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/tools/cgget.c b/src/tools/cgget.c
>> index f63a98b..aad222a 100644
>> --- a/src/tools/cgget.c
>> +++ b/src/tools/cgget.c
>> @@ -53,6 +53,7 @@ static int display_one_record(char *name, struct 
>> cgroup_controller *group_contro
>>               group_name, name,&handle, line, LL_MAX);
>>
>>       if (ret == ECGEOF) {
>> +             printf("\n");
>>               ret = 0;
>>               goto read_end;
>>       }
>>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to