This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Thorsten Alteholz gerrit-no-reply at lists.osmocom.orgThorsten Alteholz has uploaded this change for review. ( https://gerrit.osmocom.org/9202 Change subject: use reasonable value if PATH_MAX is not defined ...................................................................... use reasonable value if PATH_MAX is not defined In case PATH_MAX is not defined, which happens for example on non Linux systems like Hurd, use a reasonable value, like the one from Linux. Change-Id: Ia884f4c96b4c4eaa1a1be256e3ccda0b4dec4099 --- M src/plugin.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/02/9202/1 diff --git a/src/plugin.c b/src/plugin.c index 40de4f8..bffdc97 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -46,7 +46,12 @@ int osmo_plugin_load_all(const char *directory) { unsigned int num = 0; +/* in case PATH_MAX is not defined, use the value from linux */ +#ifdef PATH_MAX char fname[PATH_MAX]; +#else + char fname[4096]; +#endif DIR *dir; struct dirent *entry; -- To view, visit https://gerrit.osmocom.org/9202 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia884f4c96b4c4eaa1a1be256e3ccda0b4dec4099 Gerrit-Change-Number: 9202 Gerrit-PatchSet: 1 Gerrit-Owner: Thorsten Alteholz <osmocom at alteholz.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180516/9100f0cd/attachment.htm>