summaryrefslogtreecommitdiff
path: root/usr/src/tools/findunref/findunref.c
diff options
context:
space:
mode:
authormjnelson <none@none>2008-07-10 19:11:48 -0700
committermjnelson <none@none>2008-07-10 19:11:48 -0700
commitcdf0c1d55d9b3b6beaf994835440dfb01aef5cf0 (patch)
treec1b10cec006b1a248eca473c6dddc63d5c720208 /usr/src/tools/findunref/findunref.c
parent84db2a68825c1a672f664432101f6f0b443679e3 (diff)
downloadillumos-gate-cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0.tar.gz
6538468 add Mercurial support to ON developer tools
6658967 /etc/publickey entries get removed on upgrade Portions of 6538468 contributed by Rich Lowe. Portions of 6538468 contributed by Mike Gerdts. --HG-- rename : usr/src/pkgdefs/common_files/i.confupdate => deleted_files/usr/src/pkgdefs/common_files/i.confupdate rename : usr/src/pkgdefs/common_files/i.pcicconf => deleted_files/usr/src/pkgdefs/common_files/i.pcicconf rename : usr/src/tools/scripts/cddlchk.pl => deleted_files/usr/src/tools/scripts/cddlchk.pl rename : usr/src/tools/scripts/hdrchk.pl => deleted_files/usr/src/tools/scripts/hdrchk.pl rename : usr/src/tools/findunref/exception_list => usr/src/tools/findunref/exception_list.open
Diffstat (limited to 'usr/src/tools/findunref/findunref.c')
-rw-r--r--usr/src/tools/findunref/findunref.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/usr/src/tools/findunref/findunref.c b/usr/src/tools/findunref/findunref.c
index a1aab7eca8..f40690fa75 100644
--- a/usr/src/tools/findunref/findunref.c
+++ b/usr/src/tools/findunref/findunref.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,11 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
*/
-
#pragma ident "%Z%%M% %I% %E% SMI"
/*
@@ -156,22 +155,12 @@ make_exset(const char *exceptfile)
char *newline;
pnset_t *pnsetp;
unsigned int i;
- char *builtin[] = { "*/SCCS", "*/.del-*", "*/.make.*",
- "*.flg", NULL };
pnsetp = calloc(sizeof (pnset_t), 1);
if (pnsetp == NULL)
return (NULL);
/*
- * Add the built-in exceptions.
- */
- for (i = 0; builtin[i] != NULL; i++) {
- if (pnset_add(pnsetp, builtin[i]) == 0)
- goto fail;
- }
-
- /*
* Add any exceptions from the file.
*/
fp = fopen(exceptfile, "r");