[Openais] lcr fails from hans previous patch
Hans Feldt
Hans.Feldt at ericsson.com
Tue Apr 25 00:14:49 PDT 2006
OK. You shouldn't trust my patches blindly ;-) I haven't tried in a real
environment. I still run aisexec standing in the exec directory...
Regards,
Hans
Steven Dake wrote:
> Hans,
> This attached patch gets lcr working again in my environment.
>
> I'm not sure who is returning the negative value or why, but we dont
> really care if scandir fails in a child.
>
> Regards
> -steve
>
>
> ------------------------------------------------------------------------
>
> Index: lcr_ifact.c
> ===================================================================
> --- lcr_ifact.c (revision 1006)
> +++ lcr_ifact.c (working copy)
> @@ -249,9 +249,7 @@
> }
> string[j] = '\0';
> new_filename = &string[j] + 1;
> - if (ldso_path_build (newpath, new_filename) != 0) {
> - return -1;
> - }
> + ldso_path_build (newpath, new_filename);
> continue;
> }
> path_list[path_list_entries++] = strdup (string);
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
More information about the Openais
mailing list