1 $NetBSD: patch-ae,v 1.2 2004/05/23 23:28:29 danw Exp $
3 --- src/lmdd.c.orig Fri Jul 31 15:55:18 1998
11 #include <sys/types.h>
13 @@ -797,7 +796,9 @@ getfile(char *s, int ac, char **av)
14 oflags |= (notrunc || append) ? 0 : O_TRUNC;
15 oflags |= nocreate ? 0 : O_CREAT;
16 oflags |= append ? O_APPEND : 0;
18 oflags |= osync ? O_SYNC : 0;
20 ret = open(&av[i][len], oflags,0644);
22 if ((getarg("odirect=", ac, av) != -1) ||