[Commit] jove Makefile, 1.9, 1.10 ctype.h, 1.2, 1.3 fp.c, 1.5, 1.6 io.h, 1.2, 1.3 iproc.c, 1.4, 1.5 jove.h, 1.8, 1.9 man.c, 1.3, 1.4

Keith Packard commit at keithp.com
Sun Sep 5 17:39:51 PDT 2004


Committed by: keithp

Update of /local/src/CVS/jove
In directory home.keithp.com:/tmp/cvs-serv27380

Modified Files:
	Makefile ctype.h fp.c io.h iproc.c jove.h man.c 
Log Message:
Fix termflush to use int for unsigned char machines

Index: Makefile
===================================================================
RCS file: /local/src/CVS/jove/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile	12 Aug 2004 04:29:56 -0000	1.9
+++ Makefile	6 Sep 2004 00:39:48 -0000	1.10
@@ -17,7 +17,7 @@
 # JOVE, RECOVER and TEACHJOVE.  MANEXT is the extension for the man pages,
 # e.g., jove.1 or jove.l or jove.m.
 
-DESTDIR = /local
+DESTDIR = /usr/local
 TMPDIR = /tmp
 RECDIR = $(TMPDIR)
 LIBDIR = $(DESTDIR)/lib/jove

Index: ctype.h
===================================================================
RCS file: /local/src/CVS/jove/ctype.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ctype.h	15 May 2003 00:01:06 -0000	1.2
+++ ctype.h	6 Sep 2004 00:39:48 -0000	1.3
@@ -17,7 +17,7 @@
 #define _Cl	0200
 
 extern int	SyntaxTable;
-#define islatin1(c)	((unsigned) (c) < 0x100)
+#define islatin1(c)	((unsigned int) (c) + 0 < 0x100)
 #define iswhite(c)	(isspace(c))
 #define isword(c)	(islatin1(c) && (CharTable[SyntaxTable])[((int) c) & 0377]&(_W))
 #define	isalpha(c)	(islatin1(c) && (CharTable[SyntaxTable])[((int) c) & 0377]&(_U|_L))

Index: fp.c
===================================================================
RCS file: /local/src/CVS/jove/fp.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fp.c	12 Aug 2004 04:29:56 -0000	1.5
+++ fp.c	6 Sep 2004 00:39:48 -0000	1.6
@@ -67,7 +67,7 @@
 }
 
 void
-termflush(char c)
+termflush(int c)
 {
 	register int	n;
 

Index: io.h
===================================================================
RCS file: /local/src/CVS/jove/io.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- io.h	15 May 2003 00:01:06 -0000	1.2
+++ io.h	6 Sep 2004 00:39:48 -0000	1.3
@@ -18,7 +18,7 @@
 #define termoutbyte(c)	(--terminal.t_cnt >= 0 ? (*terminal.t_ptr++ = (c)) : termflush((c)))
 
 void	termoutchar (ucs4 c);
-void	termflush (char c);
+void	termflush (int c);
 
 #define T_ERR		040
 

Index: iproc.c
===================================================================
RCS file: /local/src/CVS/jove/iproc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- iproc.c	15 May 2003 05:15:51 -0000	1.4
+++ iproc.c	6 Sep 2004 00:39:48 -0000	1.5
@@ -117,7 +117,6 @@
 setUpIprocEnviron ()
 {
 	static int	iproc_environ_set;
-	char		*malloc ();
 	int		nenv;
 	char		**e, **n;
 	extern char	**environ;

Index: jove.h
===================================================================
RCS file: /local/src/CVS/jove/jove.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- jove.h	12 Aug 2004 04:29:56 -0000	1.8
+++ jove.h	6 Sep 2004 00:39:48 -0000	1.9
@@ -655,10 +655,8 @@
 	*ask_buf(),
 	*ask_file(),
 	*lcontents(),
-	*malloc(),
 	*emalloc(),
 	*mktemp(),
-	*realloc(),
 	*ltobuf(),
 	*lbptr(),
 	*rindex(),

Index: man.c
===================================================================
RCS file: /local/src/CVS/jove/man.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- man.c	22 Aug 2001 18:58:50 -0000	1.3
+++ man.c	6 Sep 2004 00:39:48 -0000	1.4
@@ -87,7 +87,7 @@
 	free (path);
 }
 
-char		ManPagePath[V_STRING_LEN] = "/usr/man";
+char		ManPagePath[V_STRING_LEN] = "/usr/share/man";
 static char	**parsedManPath = 0;
 static int	parseManValid = 0;
 




More information about the Commit mailing list