t_unlinkat.c (276478) | t_unlinkat.c (291870) |
---|---|
1/* $NetBSD: t_unlinkat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $ */ 2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Emmanuel Dreyfus. --- 26 unchanged lines hidden (view full) --- 35#include <errno.h> 36#include <fcntl.h> 37#include <limits.h> 38#include <paths.h> 39#include <stdio.h> 40#include <string.h> 41#include <unistd.h> 42#include <sys/param.h> | 1/* $NetBSD: t_unlinkat.c,v 1.2 2013/03/17 04:46:06 jmmv Exp $ */ 2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Emmanuel Dreyfus. --- 26 unchanged lines hidden (view full) --- 35#include <errno.h> 36#include <fcntl.h> 37#include <limits.h> 38#include <paths.h> 39#include <stdio.h> 40#include <string.h> 41#include <unistd.h> 42#include <sys/param.h> |
43#ifdef __FreeBSD__ 44#include <sys/stat.h> 45#endif |
|
43 44#define DIR "dir" 45#define FILE "dir/unlinkat" 46#define BASEFILE "unlinkat" 47#define FILEERR "dir/unlinkaterr" 48 49ATF_TC(unlinkat_fd); 50ATF_TC_HEAD(unlinkat_fd, tc) --- 126 unchanged lines hidden --- | 46 47#define DIR "dir" 48#define FILE "dir/unlinkat" 49#define BASEFILE "unlinkat" 50#define FILEERR "dir/unlinkaterr" 51 52ATF_TC(unlinkat_fd); 53ATF_TC_HEAD(unlinkat_fd, tc) --- 126 unchanged lines hidden --- |