Sam James <s...@gentoo.org> wrote: >David Leonard <d+busy...@adaptive-enterprises.com> writes: >> I worry that the fprintf() may destroy the errno which perror() uses, >> so you could get a random error message. >> Perhaps remove the fprintf(s) completely? Because the context should be >> clear enough from the filename alone that perror displays. > >Ah, a great point. Any preference between just stripping the fprintfs vs >a better argument to perror, as we do in some places (but not very >consistently)?
Or: fprintf(stderr, "fixdep: fstat %s %s\n", depfile, strerror(errno)); Cheers, Ron _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox