1*3e14f97fSRoger A. Faulkner /*********************************************************************** 2*3e14f97fSRoger A. Faulkner * * 3*3e14f97fSRoger A. Faulkner * This software is part of the ast package * 4*3e14f97fSRoger A. Faulkner * Copyright (c) 1992-2010 AT&T Intellectual Property * 5*3e14f97fSRoger A. Faulkner * and is licensed under the * 6*3e14f97fSRoger A. Faulkner * Common Public License, Version 1.0 * 7*3e14f97fSRoger A. Faulkner * by AT&T Intellectual Property * 8*3e14f97fSRoger A. Faulkner * * 9*3e14f97fSRoger A. Faulkner * A copy of the License is available at * 10*3e14f97fSRoger A. Faulkner * http://www.opensource.org/licenses/cpl1.0.txt * 11*3e14f97fSRoger A. Faulkner * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 12*3e14f97fSRoger A. Faulkner * * 13*3e14f97fSRoger A. Faulkner * Information and Software Systems Research * 14*3e14f97fSRoger A. Faulkner * AT&T Research * 15*3e14f97fSRoger A. Faulkner * Florham Park NJ * 16*3e14f97fSRoger A. Faulkner * * 17*3e14f97fSRoger A. Faulkner * Glenn Fowler <gsf@research.att.com> * 18*3e14f97fSRoger A. Faulkner * David Korn <dgk@research.att.com> * 19*3e14f97fSRoger A. Faulkner * * 20*3e14f97fSRoger A. Faulkner ***********************************************************************/ 21*3e14f97fSRoger A. Faulkner /* 22*3e14f97fSRoger A. Faulkner * -lcmd specific workaround to handle 23*3e14f97fSRoger A. Faulkner * fts_namelen 24*3e14f97fSRoger A. Faulkner * fts_pathlen 25*3e14f97fSRoger A. Faulkner * fts_level 26*3e14f97fSRoger A. Faulkner * changing from [unsigned] short bit to [s]size_t 27*3e14f97fSRoger A. Faulkner * 28*3e14f97fSRoger A. Faulkner * ksh (or any other main application) that pulls in -lcmd 29*3e14f97fSRoger A. Faulkner * at runtime may result in old -last running with new -lcmd 30*3e14f97fSRoger A. Faulkner * which is not a good situation (tm) 31*3e14f97fSRoger A. Faulkner */ 32*3e14f97fSRoger A. Faulkner 33*3e14f97fSRoger A. Faulkner #ifndef _FTS_FIX_H 34*3e14f97fSRoger A. Faulkner #define _FTS_FIX_H 1 35*3e14f97fSRoger A. Faulkner 36*3e14f97fSRoger A. Faulkner #include <fts.h> 37*3e14f97fSRoger A. Faulkner 38*3e14f97fSRoger A. Faulkner #ifdef fts_read 39*3e14f97fSRoger A. Faulkner #undef fts_read 40*3e14f97fSRoger A. Faulkner #else 41*3e14f97fSRoger A. Faulkner #define _ast_fts_read fts_read 42*3e14f97fSRoger A. Faulkner #endif 43*3e14f97fSRoger A. Faulkner 44*3e14f97fSRoger A. Faulkner #define fts_read _fts_read 45*3e14f97fSRoger A. Faulkner 46*3e14f97fSRoger A. Faulkner extern FTSENT* fts_read(FTS*); 47*3e14f97fSRoger A. Faulkner 48*3e14f97fSRoger A. Faulkner #endif 49