fts.c (199844) | fts.c (219696) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. 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 --- 22 unchanged lines hidden (view full) --- 31 32#if 0 33#if defined(LIBC_SCCS) && !defined(lint) 34static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; 35#endif /* LIBC_SCCS and not lint */ 36#endif 37 38#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. 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 --- 22 unchanged lines hidden (view full) --- 31 32#if 0 33#if defined(LIBC_SCCS) && !defined(lint) 34static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; 35#endif /* LIBC_SCCS and not lint */ 36#endif 37 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/lib/libc/gen/fts.c 199844 2009-11-26 19:11:44Z jh $"); | 39__FBSDID("$FreeBSD: head/lib/libc/gen/fts.c 219696 2011-03-16 08:58:09Z pjd $"); |
40 41#include "namespace.h" 42#include <sys/param.h> 43#include <sys/mount.h> 44#include <sys/stat.h> 45 46#include <dirent.h> 47#include <errno.h> --- 47 unchanged lines hidden (view full) --- 95 * is decided by looking at the link count: a subdirectory would 96 * increment its parent's link count by virtue of its own ".." entry. 97 * This assumption only holds for UFS-like filesystems that implement 98 * links and directories this way, so we must punt for others. 99 */ 100 101static const char *ufslike_filesystems[] = { 102 "ufs", | 40 41#include "namespace.h" 42#include <sys/param.h> 43#include <sys/mount.h> 44#include <sys/stat.h> 45 46#include <dirent.h> 47#include <errno.h> --- 47 unchanged lines hidden (view full) --- 95 * is decided by looking at the link count: a subdirectory would 96 * increment its parent's link count by virtue of its own ".." entry. 97 * This assumption only holds for UFS-like filesystems that implement 98 * links and directories this way, so we must punt for others. 99 */ 100 101static const char *ufslike_filesystems[] = { 102 "ufs", |
103 "zfs", |
|
103 "nfs", 104 "nfs4", 105 "ext2fs", 106 0 107}; 108 109FTS * 110fts_open(argv, options, compar) --- 1089 unchanged lines hidden --- | 104 "nfs", 105 "nfs4", 106 "ext2fs", 107 0 108}; 109 110FTS * 111fts_open(argv, options, compar) --- 1089 unchanged lines hidden --- |