mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 11:20:04 -04:00
40 lines
962 B
Plaintext
40 lines
962 B
Plaintext
$NetBSD: patch-aj,v 1.4 2013/01/11 13:24:32 joerg Exp $
|
|
|
|
--- icb/oset.c.orig 1995-02-24 21:20:24.000000000 +0000
|
|
+++ icb/oset.c
|
|
@@ -39,6 +39,7 @@ VARIABLE vars[] = {
|
|
{ "pagesize", V_INT, (char *)&gv.pagesize },
|
|
{ "pauseonshell", V_BOOLEAN, (char *)&gv.pauseonshell },
|
|
{ "personalto", V_STRING, (char *)&gv.personalto },
|
|
+ { "printtime", V_BOOLEAN, (char *)&gv.printtime },
|
|
{ "restricted", V_BOOLEAN, (char *)&gv.restricted },
|
|
{ "tabreply", V_BOOLEAN, (char *)&gv.tabreply },
|
|
{ "timedisplay", V_STRING, (char *)&gv.timedisplay },
|
|
@@ -70,7 +71,7 @@ TARGDEFS
|
|
if (gv.restricted)
|
|
TRETURNERR("oset: restricted mode can't be reset")
|
|
else {
|
|
- restrict();
|
|
+ restricted();
|
|
return(TCL_OK);
|
|
}
|
|
}
|
|
@@ -140,7 +141,7 @@ char *s;
|
|
{
|
|
int zero = 0, one = 1;
|
|
int tmp;
|
|
- char *p, *malloc();
|
|
+ char *p;
|
|
|
|
switch(type) {
|
|
case V_CHAR:
|
|
@@ -312,7 +313,7 @@ varsanity()
|
|
|
|
}
|
|
|
|
-restrict()
|
|
+restricted()
|
|
{
|
|
gv.restricted = 1;
|
|
tclrestrict();
|