fts-compat.c (175688) | fts-compat.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-compat.c 175688 2008-01-26 17:09:40Z yar $"); | 39__FBSDID("$FreeBSD: head/lib/libc/gen/fts-compat.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> --- 57 unchanged lines hidden (view full) --- 105 * is decided by looking at the link count: a subdirectory would 106 * increment its parent's link count by virtue of its own ".." entry. 107 * This assumption only holds for UFS-like filesystems that implement 108 * links and directories this way, so we must punt for others. 109 */ 110 111static const char *ufslike_filesystems[] = { 112 "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> --- 57 unchanged lines hidden (view full) --- 105 * is decided by looking at the link count: a subdirectory would 106 * increment its parent's link count by virtue of its own ".." entry. 107 * This assumption only holds for UFS-like filesystems that implement 108 * links and directories this way, so we must punt for others. 109 */ 110 111static const char *ufslike_filesystems[] = { 112 "ufs", |
113 "zfs", |
|
113 "nfs", 114 "nfs4", 115 "ext2fs", 116 0 117}; 118 119FTS * 120__fts_open_44bsd(argv, options, compar) --- 1121 unchanged lines hidden --- | 114 "nfs", 115 "nfs4", 116 "ext2fs", 117 0 118}; 119 120FTS * 121__fts_open_44bsd(argv, options, compar) --- 1121 unchanged lines hidden --- |