summaryrefslogtreecommitdiffabout
path: root/src/comp.c
authorSergey Poznyakoff <gray@gnu.org>2016-02-18 20:51:58 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-02-18 20:51:58 (GMT)
commit51a797445a4bfc34ad1ae7ea91e12486d823abda (patch) (side-by-side diff)
tree673d6ca84811f66f4a179b3d98864d2e30bab252 /src/comp.c
parent0a55965bcc28928ae17ca39e3b8e35adf11ea09c (diff)
downloadpies-51a797445a4bfc34ad1ae7ea91e12486d823abda.tar.gz
pies-51a797445a4bfc34ad1ae7ea91e12486d823abda.tar.bz2
Preserve the order of progs when adding new ones.
* src/progman.c (link_prog): Take a pointer to the reference prog as the second argument. Link the first argument after that reference prog, or at the head of the list if the reference is NULL. (register_prog0): Make sure progs are linked exactly in the same order as the corresponding components. (prog_create_socket): Process only progs with status == status_listener (progman_start): Do the right thing depending on the prog type.
Diffstat (limited to 'src/comp.c') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.