Deleted Added
full compact
ftw_test.c (239160) ftw_test.c (253403)
1/*-
2 * Copyright (c) 2012 Jilles Tjoelker
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * SUCH DAMAGE.
25 */
26
27/*
28 * Limited test program for nftw() as specified by IEEE Std. 1003.1-2008.
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2012 Jilles Tjoelker
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * SUCH DAMAGE.
25 */
26
27/*
28 * Limited test program for nftw() as specified by IEEE Std. 1003.1-2008.
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/tools/regression/lib/libc/gen/test-ftw.c 239160 2012-08-09 22:05:40Z jilles $");
32__FBSDID("$FreeBSD: head/tools/regression/lib/libc/gen/test-ftw.c 253403 2013-07-17 00:58:23Z kevlo $");
33
34#include <sys/wait.h>
35
36#include <assert.h>
33
34#include <sys/wait.h>
35
36#include <assert.h>
37#include <err.h>
37#include <errno.h>
38#include <fcntl.h>
39#include <ftw.h>
40#include <stdio.h>
41#include <stdlib.h>
42#include <string.h>
43#include <spawn.h>
38#include <errno.h>
39#include <fcntl.h>
40#include <ftw.h>
41#include <stdio.h>
42#include <stdlib.h>
43#include <string.h>
44#include <spawn.h>
45#include <unistd.h>
44
45extern char **environ;
46
47static char dir[] = "/tmp/testftw.XXXXXXXXXX";
48static int failures;
49static int ftwflags;
50
51static void

--- 90 unchanged lines hidden ---
46
47extern char **environ;
48
49static char dir[] = "/tmp/testftw.XXXXXXXXXX";
50static int failures;
51static int ftwflags;
52
53static void

--- 90 unchanged lines hidden ---