View | Details | Raw Unified | Return to bug 61912
Collapse All | Expand All

(-)./Makefile (-1 / +1 lines)
Lines 11-17 Link Here
11
MASTER_SITES=	http://www.zeta.org.au/~atrn/ici/distfiles/
11
MASTER_SITES=	http://www.zeta.org.au/~atrn/ici/distfiles/
12
12
13
MAINTAINER=	atrn@zeta.org.au
13
MAINTAINER=	atrn@zeta.org.au
14
COMMENT=	An interpretive language with C's overall feel combined with high level data types
14
COMMENT=	An interpretive language with C's feel and high level data types
15
15
16
MAKEFILE=	Makefile.bsd
16
MAKEFILE=	Makefile.bsd
17
MAN1=		ici3.1
17
MAN1=		ici3.1
(-)./files/patch-Makefile.bsd (+29 lines)
Line 0 Link Here
1
--- Makefile.bsd	Thu Apr 19 19:31:12 2001
2
+++ Makefile.bsd	Mon Jan 26 10:39:43 2004
3
@@ -21,7 +21,7 @@
4
 	findpath.c float.c forall.c\
5
 	func.c icimain.c init.c int.c lex.c load.c main.c mark.c mem.c\
6
 	method.c mkvar.c nptrs.c null.c object.c oofuncs.c op.c parse.c pc.c\
7
-	ptr.c refuncs.o regexp.c set.c\
8
+	ptr.c refuncs.c regexp.c set.c\
9
 	sfile.c signals.c skt.c smash.c src.c sstring.c string.c\
10
 	struct.c syscall.c syserr.c ti.c trace.c unary.c uninit.c win.c\
11
 	wrap.c buf.c strtol.c idb.c idb2.c profile.c win32err.c
12
@@ -59,16 +59,13 @@
13
 DOCS=\
14
 	doc/ici-a4.ps doc/ici-ltr.ps doc/ici.txt
15
 
16
-beforeinstall: ici3.1.gz
17
+beforeinstall:
18
 	@echo '=========================================='
19
 	@echo 'Installing ici interpreter and manual page'
20
 	@echo '=========================================='
21
 
22
 ici3.1: $(MAN1)
23
 	ln -sf $(MAN1) $@
24
-
25
-ici3.1.gz: ici3.1
26
-	gzip -c ici3.1 > $@
27
 
28
 libici3.a: $(OBJS)
29
 	$(AR) r libici3.a $(OBJS)
(-)./files/patch-cfunc.c (+20 lines)
Line 0 Link Here
1
--- cfunc.c	Mon Jan 26 10:37:06 2004
2
+++ cfunc.c	Mon Jan 26 10:41:23 2004
3
@@ -1378,7 +1378,7 @@
4
     register char       *p;
5
     register int        i;              /* Where we are up to in buf. */
6
     register int        j;
7
-    int                 which;
8
+    long                which;
9
     int                 nargs;
10
     char                subfmt[40];     /* %...? portion of string. */
11
     int                 stars[2];       /* Precision and field widths. */
12
@@ -1395,7 +1395,7 @@
13
 #define IPLUSEQ         i +=
14
 #endif
15
 
16
-    which = (int)CF_ARG1(); /* sprintf, printf, fprintf */
17
+    which = (long)CF_ARG1(); /* sprintf, printf, fprintf */
18
     if (which != 0 && NARGS() > 0 && isfile(ARG(0)))
19
     {
20
         which = 2;
(-)./files/patch-syscall.c (+17 lines)
Line 0 Link Here
1
--- syscall.c	Mon Jan 26 10:37:06 2004
2
+++ syscall.c	Mon Jan 26 10:40:55 2004
3
@@ -510,9 +510,13 @@
4
 f_ctime(void)
5
 {
6
     long        timev;
7
+    time_t	timet;
8
     string_t    *s;
9
 
10
-    if (ici_typecheck("i", &timev) || (s = new_cname(ctime(&timev))) == NULL)
11
+    if (ici_typecheck("i", &timev))
12
+	return 1;
13
+    timet = timev;
14
+    if ((s = new_cname(ctime(&timet))) == NULL)
15
         return 1;
16
     return ici_ret_with_decref(objof(s));
17
 }

Return to bug 61912