aboutsummaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-02-18 22:51:58 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-18 22:51:58 +0200
commit51a797445a4bfc34ad1ae7ea91e12486d823abda (patch)
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')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.