29 lines
841 B
Plaintext
29 lines
841 B
Plaintext
$OpenBSD: patch-icb_oset_c,v 1.2 2010/05/22 14:23:48 espie Exp $
|
|
--- icb/oset.c.orig Fri Feb 24 22:20:24 1995
|
|
+++ icb/oset.c Sat May 22 16:21:47 2010
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#include "icb.h"
|
|
#include "externs.h"
|
|
+#include <stdlib.h>
|
|
|
|
/* struct for variable table */
|
|
typedef struct Variable {
|
|
@@ -39,6 +40,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 },
|
|
@@ -140,7 +142,7 @@ char *s;
|
|
{
|
|
int zero = 0, one = 1;
|
|
int tmp;
|
|
- char *p, *malloc();
|
|
+ char *p;
|
|
|
|
switch(type) {
|
|
case V_CHAR:
|