t_readlinkat.c (276478) | t_readlinkat.c (291870) |
---|---|
1/* $NetBSD: t_readlinkat.c,v 1.3 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_readlinkat.c,v 1.3 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/readlinkat" 46#define BASEFILE "readlinkat" 47#define LINK "dir/symlink" 48#define BASELINK "symlink" 49#define FILEERR "dir/readlinkaterr" 50 --- 107 unchanged lines hidden --- | 46 47#define DIR "dir" 48#define FILE "dir/readlinkat" 49#define BASEFILE "readlinkat" 50#define LINK "dir/symlink" 51#define BASELINK "symlink" 52#define FILEERR "dir/readlinkaterr" 53 --- 107 unchanged lines hidden --- |