From cdf0c1d55d9b3b6beaf994835440dfb01aef5cf0 Mon Sep 17 00:00:00 2001 From: mjnelson Date: Thu, 10 Jul 2008 19:11:48 -0700 Subject: 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 --- usr/src/tools/findunref/findunref.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'usr/src/tools/findunref/findunref.c') 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,21 +155,11 @@ 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. */ -- cgit v1.2.3