Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-09 Thread Marcel Moolenaar
On Aug 4, 2013, at 9:52 PM, Jan Beich wrote: > >> >> It's probably not going to work on any other FS. The >> alternative is to just not support freaddir due to lack >> of runtime support. > > What's the issue with my version in bin/172542 ? It doesn't > use d_reclen but relies on a side-effect

Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-04 Thread Jan Beich
Marcel Moolenaar writes: > On Aug 4, 2013, at 2:06 PM, Jan Beich wrote: > >> Marcel Moolenaar writes: >> >>> +static union { >>> + struct dirent dirent; >>> + char buf[512]; >>> +} u; >>> +off_t off; >>> +int len; >> [...] >>> +/* >>> + * The readdirfd() function i

Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-04 Thread Marcel Moolenaar
On Aug 4, 2013, at 2:06 PM, Jan Beich wrote: > Marcel Moolenaar writes: > >> +static union { >> +struct dirent dirent; >> +char buf[512]; >> +} u; >> +off_t off; >> +int len; > [...] >> +/* >> + * The readdirfd() function is specific to the loader environment.

Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-04 Thread Jan Beich
Marcel Moolenaar writes: > +static union { > + struct dirent dirent; > + char buf[512]; > +} u; > +off_t off; > +int len; [...] > +/* > + * The readdirfd() function is specific to the loader environment. > + * We do the best we can to make freaddir work, but i

svn commit: r253862 - head/sys/boot/ficl

2013-08-01 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 1 18:06:58 2013 New Revision: 253862 URL: http://svnweb.freebsd.org/changeset/base/253862 Log: Fix the build of the testmain target. This target compiles a Forth interpreter that can be run on the system and as such cannot be compiled against libbstand. On the o