]> mj.ucw.cz Git - libucw.git/commit
Another thing about the C standard I didn't know: passing a va_list to
authorMartin Mares <mj@ucw.cz>
Wed, 14 Sep 2005 09:19:17 +0000 (09:19 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 14 Sep 2005 09:19:17 +0000 (09:19 +0000)
commit2bdb8362f6969384d1c2a4c0ee6bfef5e60e85c5
tree8e7ea2f69676521b481b03561b2f9bd98f192721
parentdaeb867ae06487d59350b551e0480b39783737bf
Another thing about the C standard I didn't know: passing a va_list to
a library function (e.g., snprintf()) can destroy it. Need to call va_copy() here.
lib/ff-printf.c