[syslog-ng] [Bug 213] Build Failure on AIX with syslog-ng-3.3.6 and gcc 4.2.0

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Dec 20 13:02:58 CET 2012


https://bugzilla.balabit.com/show_bug.cgi?id=213


Gergely Nagy <algernon at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.8
                 CC|                            |algernon at balabit.hu
         AssignedTo|bazsi at balabit.hu            |algernon at balabit.hu




--- Comment #3 from Gergely Nagy <algernon at balabit.hu>  2012-12-20 13:02:57 ---
Thanks for the report and the patch, I will apply this to 3.3's git head shortly, with some minor modifications: I don't want to replace GLOB_NOMAGIC with
GLOB_NOCHECK, as they're not the same.

With GLOB_NOMAGIC, "/etc/syslog-ng/foo.conf" both would return foo.conf, but for "/etc/syslog-ng/conf.d/*.conf", NOCHECK would return the pattern, NOMAGIC
would return GLOB_NOMATCH. So on platforms that do have NOMAGIC, syslog-ng should use it, on others, it should fall back to NOCHECK as the next best option.

I plan to do this with something along these lines:

#ifndef GLOB_NOMAGIC
#define GLOB_NOMAGIC GLOB_NOCHECK
#endif

Or better yet, implement NOMAGIC if the platform does not support it. I'll see which option is more feasible in our case.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list