summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/crle/common/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/sgs/crle/common/config.c')
-rw-r--r--usr/src/cmd/sgs/crle/common/config.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/usr/src/cmd/sgs/crle/common/config.c b/usr/src/cmd/sgs/crle/common/config.c
index 2d3ae4d839..ea2a16989a 100644
--- a/usr/src/cmd/sgs/crle/common/config.c
+++ b/usr/src/cmd/sgs/crle/common/config.c
@@ -521,13 +521,11 @@ genconfig(Crle_desc *crle)
} else
head->ch_edlibpath = 0;
- if (crle->c_adlibpath) {
- head->ch_adlibpath = head->ch_str + (_strtbl - strtbl);
-
- (void) strcpy(_strtbl, crle->c_adlibpath);
- _strtbl += strlen((char *)crle->c_adlibpath) + 1;
- } else
- head->ch_adlibpath = 0;
+ /*
+ * a.out is no longer supported, but remains in the crle file
+ * format
+ */
+ head->ch_adlibpath = 0;
if (crle->c_eslibpath) {
head->ch_eslibpath = head->ch_str + (_strtbl - strtbl);
@@ -537,13 +535,11 @@ genconfig(Crle_desc *crle)
} else
head->ch_eslibpath = 0;
- if (crle->c_aslibpath) {
- head->ch_aslibpath = head->ch_str + (_strtbl - strtbl);
-
- (void) strcpy(_strtbl, crle->c_aslibpath);
- _strtbl += strlen((char *)crle->c_aslibpath) + 1;
- } else
- head->ch_aslibpath = 0;
+ /*
+ * a.out is no longer supported, but remains in the crle file
+ * format
+ */
+ head->ch_aslibpath = 0;
/*
* Add any environment variable entries.