- change segment name

- specify optimization, debugging, memorymodel levels
- use <fts.h> vice "fts.h"
- allow GNO version to use fchdir(3)
This commit is contained in:
gdr 1997-07-27 23:05:04 +00:00
parent a4ebb50d01
commit 649a34d2fd

View File

@ -32,9 +32,13 @@
*/
#ifdef __ORCAC__
segment "fts_______";
segment "libc_gen_2";
#endif
#pragma optimize 0
#pragma debug 0
#pragma memorymodel 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)fts.c 8.4 (Berkeley) 4/16/94";
#endif /* LIBC_SCCS and not lint */
@ -49,13 +53,12 @@ static char sccsid[] = "@(#)fts.c 8.4 (Berkeley) 4/16/94";
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <fts.h>
#ifdef __GNO__
#if 0 /* def __GNO__ */
#define FORCE_NOCHDIR 1 /* GNO v2.0.4 doesn't have fchdir */
#endif
#include "fts.h"
#ifdef MAX
#undef MAX
#define MAX(a,b) ((a)>(b)?(a):(b))