[oe] meta-toolchain continues to woe

Khem Raj raj.khem at gmail.com
Fri Nov 13 19:48:35 UTC 2009


On Thu, Nov 12, 2009 at 1:16 PM, Graham Gower <graham.gower at gmail.com> wrote:
> Chris,
> The patch you submitted prints out an error from the lockf() function
> call. Which is fine, but its more common for the creat() call to fail
> before hand, meaning that the lockf() function would have be passed -1
> as the file descriptor.
>
> I made a small change to hopefully improve this.
> http://code.google.com/p/opkg/source/detail?r=288

creat could be replaced by open() as SUS says creat is redundant
 if creat fails it will still report Could not obtain administrative lock .....
that would be misleading too.

-Khem

>
> -Graham
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list