[Openais] lcr fails from hans previous patch

Steven Dake sdake at redhat.com
Tue Apr 25 00:20:22 PDT 2006


Yes it looked right and worked on some of my systems but not on others.

Its no problem though :)

regards
-steve
On Tue, 2006-04-25 at 09:14 +0200, Hans Feldt wrote:
> 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