aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags-vmslib.c64
1 files changed, 16 insertions, 48 deletions
diff --git a/lib-src/etags-vmslib.c b/lib-src/etags-vmslib.c
index 5d501682055..cddb68085f8 100644
--- a/lib-src/etags-vmslib.c
+++ b/lib-src/etags-vmslib.c
@@ -1,52 +1,20 @@
1/* File name wild card expansion for VMS. 1/* File name wild card expansion for VMS.
2 This file is part of the etags program. 2 This file is part of the etags program.
3 Copyright (C) 1987 Free Software Foundation, Inc. 3 Feb 1987 3 Copyright (C) 1987 Free Software Foundation, Inc.
4 4
5This program is distributed in the hope that it will be useful, 5 This program is free software; you can redistribute it and/or modify
6but without any warranty. No author or distributor 6 it under the terms of the GNU General Public License as published by
7accepts responsibility to anyone for the consequences of using it 7 the Free Software Foundation; either version 2, or (at your option)
8or for whether it serves any particular purpose or works at all, 8 any later version.
9unless he says so in writing. 9
10 10 This program is distributed in the hope that it will be useful,
11 Permission is granted to anyone to distribute verbatim copies 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 of this program's source code as received, in any medium, provided that 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 the copyright notice, the nonwarraty notice above 13 GNU General Public License for more details.
14 and this permission notice are preserved, 14
15 and that the distributor grants the recipient all rights 15 You should have received a copy of the GNU General Public License
16 for further redistribution as permitted by this notice, 16 along with this program; if not, write to the Free Software
17 and informs him of these rights. 17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
18
19 Permission is granted to distribute modified versions of this
20 program's source code, or of portions of it, under the above
21 conditions, plus the conditions that all changed files carry
22 prominent notices stating who last changed them and that the
23 derived material, including anything packaged together with it and
24 conceptually functioning as a modification of it rather than an
25 application of it, is in its entirety subject to a permission
26 notice identical to this one.
27
28 Permission is granted to distribute this program (verbatim or
29 as modified) in compiled or executable form, provided verbatim
30 redistribution is permitted as stated above for source code, and
31 A. it is accompanied by the corresponding machine-readable
32 source code, under the above conditions, or
33 B. it is accompanied by a written offer, with no time limit,
34 to distribute the corresponding machine-readable source code,
35 under the above conditions, to any one, in return for reimbursement
36 of the cost of distribution. Verbatim redistribution of the
37 written offer must be permitted. Or,
38 C. it is distributed by someone who received only the
39 compiled or executable form, and is accompanied by a copy of the
40 written offer of source code which he received along with it.
41
42 Permission is granted to distribute this program (verbatim or as modified)
43 in executable form as part of a larger system provided that the source
44 code for this program, including any modifications used,
45 is also distributed or offered as stated in the preceding paragraph.
46
47In other words, you are welcome to use, share and improve this program.
48You are forbidden to forbid anyone else to use, share and improve
49what you give them. Help stamp out software-hoarding! */
50 18
51#include <stdio.h> 19#include <stdio.h>
52typedef char tbool; 20typedef char tbool;
@@ -63,7 +31,7 @@ typedef struct {
63#define YES 1 31#define YES 1
64#define NULL 0 32#define NULL 0
65 33
66/* v1.01 nmm 19-Aug-85 gfnames - return in successive calls the 34/* gfnames - return in successive calls the
67 name of each file specified by all the remaining args in the command-line 35 name of each file specified by all the remaining args in the command-line
68 expanding wild cards and 36 expanding wild cards and
69 stepping over arguments when they have been processed completely 37 stepping over arguments when they have been processed completely
@@ -101,7 +69,7 @@ gfnames(pac, pav, p_error)
101 69
102} 70}
103 71
104/* v1.05 nmm 26-Jun-86 fn_exp - expand specification of list of file names 72/* fn_exp - expand specification of list of file names
105 returning in each successive call the next filename matching the input 73 returning in each successive call the next filename matching the input
106 spec. The function expects that each in_spec passed 74 spec. The function expects that each in_spec passed
107 to it will be processed to completion; in particular, up to and 75 to it will be processed to completion; in particular, up to and