NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some bug in libc/gen/fstab.c



On Wed, 13 Oct 2021 at 20:55, Rhialto <rhialto%falu.nl@localhost> wrote:
>
> On Wed 13 Oct 2021 at 21:44:37 +0200, Rhialto wrote:
> > soffice.bin: /etc/fstab, 9: Missing fields
>
> Strangely enough, the following simple test program has no complaints
> about my fstab file and prints a long list of integers...
>
> #include <stdio.h>
> #include <fstab.h>
>
> int main(int argc, char **argv)
> {
>     struct fstab *f;
>
>     while (f = getfsent()) {
>         printf("%d\n", f->fs_passno);
>     }
>
>     return 0;
> }
>
> -Olaf.
> --
> ___ "Buying carbon credits is a bit like a serial killer paying someone else to
> \X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Could this be some common gtk filepicker with its own fstab parsing code?

As a quick test, what happens if you (briefly) comment out all entries in fstab?

David


Home | Main Index | Thread Index | Old Index