|
|
1.1 root 1: /* isofiles.c - ISODE files */
2:
3: #ifndef lint
4: static char *rcsid = "$Header: /f/osi/compat/RCS/isofiles.c,v 7.0 89/11/23 21:23:07 mrose Rel $";
5: #endif
6:
7: /*
8: * $Header: /f/osi/compat/RCS/isofiles.c,v 7.0 89/11/23 21:23:07 mrose Rel $
9: *
10: *
11: * $Log: isofiles.c,v $
12: * Revision 7.0 89/11/23 21:23:07 mrose
13: * Release 6.0
14: *
15: */
16:
17: /*
18: * NOTICE
19: *
20: * Acquisition, use, and distribution of this module and related
21: * materials are subject to the restrictions of a license agreement.
22: * Consult the Preface in the User's Manual for the full terms of
23: * this agreement.
24: *
25: */
26:
27:
28: /* LINTLIBRARY */
29:
30: #include <stdio.h>
31: #include "general.h"
32: #include "manifest.h"
33: #include "tailor.h"
34:
35: /* */
36:
37: char *_isodefile (path, file)
38: char *path,
39: *file;
40: {
41: static char buffer[BUFSIZ];
42:
43: isodetailor (NULLCP, 0); /* not really recursive */
44:
45: if (*file == '/'
46: || (*file == '.'
47: && (file[1] == '/'
48: || (file[1] == '.' && file[2] == '/'))))
49: (void) strcpy (buffer, file);
50: else
51: (void) sprintf (buffer, "%s%s", path, file);
52:
53: return buffer;
54: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.