Richard W.M. Jones
7d2ae9f30f
daemon: Generate the code when libraries are statically not available.
...
Since we as developers rarely test the case where some library is
statically not available, that side of the code was hardly tested,
except by unfortunate users in the field who often hit cases where
functions were missing or misdeclared. In fact, when making this
change I noticed several bugs like that.
Change it so that this code is autogenerated, and therefore always
correct and up to date.
Previous code which looked like this:
int
optgroup_acl_available (void)
{
return 0;
}
char * __attribute__((noreturn))
do_acl_get_file (const char *path, const char *acltype)
{
abort ();
}
/* etc */
is replaced by a single line:
OPTGROUP_ACL_NOT_AVAILABLE
2012-12-10 16:20:34 +00:00
..
2012-08-30 20:57:07 +01:00
2012-12-10 16:20:34 +00:00
2012-12-10 16:20:34 +00:00
2012-12-08 16:42:37 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-10-10 18:26:18 +01:00
2012-12-10 16:20:34 +00:00
2012-09-03 17:45:14 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-12-07 15:24:06 +00:00
2012-03-14 19:30:46 +00:00
2009-03-03 08:58:37 +00:00
2012-08-30 20:57:07 +01:00
2012-12-07 15:24:06 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-10-08 20:04:47 +01:00
2012-08-30 20:57:07 +01:00
2012-10-17 11:12:07 +01:00
2012-08-30 20:57:07 +01:00
2011-11-08 14:43:07 +00:00
2012-08-30 20:57:07 +01:00
2012-07-19 16:11:47 +01:00
2012-11-15 10:16:28 +00:00
2012-03-14 19:30:46 +00:00
2012-09-17 16:25:53 +01:00
2012-08-17 16:08:14 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-03-08 14:30:10 +00:00
2012-08-02 14:05:54 +01:00
2012-08-30 20:57:07 +01:00
2012-10-11 17:12:21 +01:00
2012-10-03 08:55:24 +01:00
2012-03-14 19:30:46 +00:00
2012-03-14 19:30:46 +00:00
2012-12-10 16:20:34 +00:00
2012-10-09 09:45:42 +01:00
2009-11-26 11:52:44 +00:00
2012-08-30 20:57:07 +01:00
2012-12-10 16:20:34 +00:00
2012-01-21 21:31:50 +00:00
2011-11-08 14:43:07 +00:00
2012-11-29 17:07:39 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-09-17 13:37:06 +01:00
2012-08-30 20:57:07 +01:00
2012-11-23 17:17:57 +00:00
2012-11-22 16:45:32 +00:00
2012-12-08 16:42:38 +00:00
2012-10-10 18:26:18 +01:00
2012-12-10 16:20:34 +00:00
2012-10-17 11:12:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2011-11-08 14:43:07 +00:00
2012-09-24 09:46:24 +01:00
2012-03-13 08:23:56 +00:00
2012-12-10 16:20:34 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-12-10 16:20:34 +00:00
2012-09-15 12:35:59 +01:00
2011-11-08 14:43:07 +00:00
2012-08-17 16:08:13 +01:00
2011-11-08 14:43:07 +00:00
2012-03-14 19:30:46 +00:00
2012-08-30 20:57:07 +01:00
2012-07-02 21:13:21 +01:00
2012-12-08 16:42:37 +00:00
2012-03-14 19:30:46 +00:00
2011-11-08 14:43:07 +00:00
2012-03-14 19:30:46 +00:00
2011-12-08 11:39:58 +00:00
2012-07-30 15:16:45 +01:00
2012-03-14 19:30:46 +00:00
2012-12-10 16:20:34 +00:00
2012-12-08 16:42:38 +00:00
2012-11-20 10:44:10 +00:00
2012-08-30 20:57:07 +01:00