1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Remove vestigial 3DFS support code (re: f88f302c)

Support for the long-dead 3DFS userland versioning file system was
already removed from ksh93 (although I'd overlooked some minor
things), but libast still supported it. This removes that too.

src/lib/libast/include/fs3d.h,
src/lib/libast/man/fs3d.3,
src/lib/libast/misc/fs3d.c:
- Removed.

bin/package,
src/cmd/INIT/package.sh:
- Remove attempted use of removed vpath builtin.

src/cmd/ksh93/*:
- Remove minor 3dfs vestiges.

src/lib/lib{ast,cmd,coshell}/*:
- Remove code supporting 3dfs.
This commit is contained in:
Martijn Dekker 2020-07-17 04:26:17 +01:00
parent 2db9953ae0
commit fbc6cd4286
32 changed files with 83 additions and 683 deletions

View file

@ -32,7 +32,6 @@ static const char id[] = "\n@(#)$Id: getconf (AT&T Research) 2012-05-01 $\0\n";
#include <ast.h>
#include <error.h>
#include <fs3d.h>
#include <ctype.h>
#include <regex.h>
#include <proc.h>
@ -142,19 +141,7 @@ static Feature_t dynamic[] =
0,
OP_conformance
},
#define OP_fs_3d 2
{
&dynamic[OP_fs_3d+1],
"FS_3D",
&null[0],
"0",
0,
5,
CONF_AST,
0,
OP_fs_3d
},
#define OP_getconf 3
#define OP_getconf 2
{
&dynamic[OP_getconf+1],
"GETCONF",
@ -170,7 +157,7 @@ static Feature_t dynamic[] =
CONF_READONLY,
OP_getconf
},
#define OP_hosttype 4
#define OP_hosttype 3
{
&dynamic[OP_hosttype+1],
"HOSTTYPE",
@ -182,7 +169,7 @@ static Feature_t dynamic[] =
CONF_READONLY,
OP_hosttype
},
#define OP_libpath 5
#define OP_libpath 4
{
&dynamic[OP_libpath+1],
"LIBPATH",
@ -198,7 +185,7 @@ static Feature_t dynamic[] =
0,
OP_libpath
},
#define OP_libprefix 6
#define OP_libprefix 5
{
&dynamic[OP_libprefix+1],
"LIBPREFIX",
@ -214,7 +201,7 @@ static Feature_t dynamic[] =
0,
OP_libprefix
},
#define OP_libsuffix 7
#define OP_libsuffix 6
{
&dynamic[OP_libsuffix+1],
"LIBSUFFIX",
@ -230,7 +217,7 @@ static Feature_t dynamic[] =
0,
OP_libsuffix
},
#define OP_path_attributes 8
#define OP_path_attributes 7
{
&dynamic[OP_path_attributes+1],
"PATH_ATTRIBUTES",
@ -246,7 +233,7 @@ static Feature_t dynamic[] =
CONF_READONLY,
OP_path_attributes
},
#define OP_path_resolve 9
#define OP_path_resolve 8
{
&dynamic[OP_path_resolve+1],
"PATH_RESOLVE",
@ -258,7 +245,7 @@ static Feature_t dynamic[] =
0,
OP_path_resolve
},
#define OP_universe 10
#define OP_universe 9
{
0,
"UNIVERSE",
@ -522,7 +509,7 @@ initialize(register Feature_t* fp, const char* path, const char* command, const
ok = 1;
break;
case OP_path_resolve:
ok = fs3d(FS3D_TEST);
ok = 0;
break;
case OP_universe:
ok = streq(_UNIV_DEFAULT, DEFAULT(OP_universe));
@ -692,10 +679,6 @@ format(register Feature_t* fp, const char* path, const char* value, unsigned int
#endif
break;
case OP_fs_3d:
fp->value = fs3d(value ? value[0] ? FS3D_ON : FS3D_OFF : FS3D_TEST) ? "1" : null;
break;
case OP_hosttype:
break;