getrpcent.c (61961e0f) | getrpcent.c (e8031f0a) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 7 unchanged lines hidden (view full) --- 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 23/* | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 7 unchanged lines hidden (view full) --- 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 23/* |
24 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. | 24 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
25 * Use is subject to license terms. 26 */ 27 28/* 29 * Ye olde non-reentrant interface (MT-unsafe, caveat utor) 30 */ 31 32#pragma ident "%Z%%M% %I% %E% SMI" 33 | 25 * Use is subject to license terms. 26 */ 27 28/* 29 * Ye olde non-reentrant interface (MT-unsafe, caveat utor) 30 */ 31 32#pragma ident "%Z%%M% %I% %E% SMI" 33 |
34#include "mt.h" |
|
34#include <rpc/rpcent.h> 35#include <nss_dbdefs.h> 36 37#ifdef NSS_INCLUDE_UNSAFE 38 39/* 40 * Don't free this, even on an endrpcent(), because bitter experience shows 41 * that there's production code that does getXXXbyYYY(), then endXXXent(), --- 37 unchanged lines hidden --- | 35#include <rpc/rpcent.h> 36#include <nss_dbdefs.h> 37 38#ifdef NSS_INCLUDE_UNSAFE 39 40/* 41 * Don't free this, even on an endrpcent(), because bitter experience shows 42 * that there's production code that does getXXXbyYYY(), then endXXXent(), --- 37 unchanged lines hidden --- |