]> mj.ucw.cz Git - libucw.git/commit
conf2: bugfix in editing and adding before/after a node of a link list
authorRobert Spalek <robert@ucw.cz>
Fri, 21 Apr 2006 17:44:13 +0000 (19:44 +0200)
committerRobert Spalek <robert@ucw.cz>
Fri, 21 Apr 2006 17:44:13 +0000 (19:44 +0200)
commit382020148c65653b05cef620b6b46f0fb92ceaa9
tree3d0fed11834393b52d99064f2c46b40a61ed22c1
parentad69984c276bf064170ba239ce34f828f014fe35
conf2: bugfix in editing and adding before/after a node of a link list

interpret_add_list() allocates memory himself, hence it is not suitable for
these operations.  since the real code is only 2 lines long, I moved the
functionality to closing_brace().  I changed its interface too, hence it
can be used much simpler and interpret_line() can be returned to its
original form.
lib/conf2.c