$NetBSD: patch-ac,v 1.30 2022/05/25 09:33:37 tnn Exp $ --- dialects/n+obsd/dstore.c.orig 2004-12-30 18:42:32.000000000 +0000 +++ dialects/n+obsd/dstore.c @@ -48,7 +48,9 @@ struct file *Cfp; /* current file's fil */ struct drive_Nl Drive_Nl[] = { - +#if (defined(NETBSDV) && NETBSDV>=9099000) + { "rootvnode", "rootvnode", }, +#endif #if (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1002000) { X_NCACHE, "_nchashtbl", }, { X_NCSIZE, "_nchash" }, @@ -119,6 +121,8 @@ struct pff_tab Pof_tab[] = { # if defined(UF_EXCLOSE) { (long)UF_EXCLOSE, POF_CLOEXEC }, +# else + { (long)1, POF_CLOEXEC }, # endif /* defined(UF_EXCLOSE) */ # if defined(UF_MAPPED)