[FS#1182] UCI incorrect implementation of anonymous uci section counter?

LEDE Bugs lede-bugs at lists.infradead.org
Tue Nov 21 21:28:13 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Mond WAN (mondwan) 

Attached to Project - LEDE Project
Summary - UCI incorrect implementation of anonymous uci section counter?
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - From the uci version 2017-09-29, below line seems is a problematic implementation.

https://git.lede-project.org/?p=project/uci.git;a=blob;f=list.c;h=321861c8eb7d741c17a1cc764e4e648635640b13;hb=5ad59ad412a784c5c478e31d1701ce39568ffd58#l178

It messy up the package counter `n_section`. As `n_section` has already be increased in [https://git.lede-project.org/?p=project/uci.git;a=blob;f=list.c;h=321861c8eb7d741c17a1cc764e4e648635640b13;hb=5ad59ad412a784c5c478e31d1701ce39568ffd58#l198].

Is there any reasons for using `++s->package->n_section` instead of `s->package->n_section`
 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1182



More information about the lede-bugs mailing list