From MAILER-DAEMON Thu Mar 01 00:05:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1S2yDE-0007BD-45
	for mharc-groff-commit@gnu.org; Thu, 01 Mar 2012 00:05:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42187)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S2yDA-00079y-C2
	for groff-commit@gnu.org; Thu, 01 Mar 2012 00:05:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <wl@gnu.org>) id 1S2yD8-0000T4-5g
	for groff-commit@gnu.org; Thu, 01 Mar 2012 00:05:51 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:60137)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S2yD8-0000S2-35
	for groff-commit@gnu.org; Thu, 01 Mar 2012 00:05:50 -0500
Received: from wl by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <wl@gnu.org>) id 1S2yD6-0001UD-Ry
	for groff-commit@gnu.org; Thu, 01 Mar 2012 05:05:49 +0000
Date: Thu, 01 Mar 2012 05:05:48 +0000
Message-Id: <E1S2yD6-0001UD-Ry@vcs.savannah.gnu.org>
To: groff-commit@gnu.org
From: Werner LEMBERG <wl@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
Subject: [Groff-commit] groff ChangeLog tmac/an-old.tmac
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Mar 2012 05:05:54 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	12/03/01 05:05:48

Modified files:
	.              : ChangeLog 
	tmac           : an-old.tmac 

Log message:
	[an-old] Fix warnings.
	
	* tmac/an-old.tmac (an-init): Insert missing braces.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1329&r2=1.1330
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/an-old.tmac?cvsroot=groff&r1=1.65&r2=1.66

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1329
retrieving revision 1.1330
diff -u -b -r1.1329 -r1.1330
--- ChangeLog	26 Feb 2012 23:40:11 -0000	1.1329
+++ ChangeLog	1 Mar 2012 05:05:48 -0000	1.1330
@@ -1,3 +1,9 @@
+2012-03-01  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
+
+	[an-old] Fix warnings.
+
+	* tmac/an-old.tmac (an-init): Insert missing braces.
+
 2012-02-26  Werner LEMBERG  <wl@gnu.org>
 
 	Update configuration files from `gnulib' and `config' repositories..

Index: tmac/an-old.tmac
===================================================================
RCS file: /cvsroot/groff/groff/tmac/an-old.tmac,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- tmac/an-old.tmac	1 Dec 2011 07:58:37 -0000	1.65
+++ tmac/an-old.tmac	1 Mar 2012 05:05:48 -0000	1.66
@@ -143,18 +143,20 @@
 .    ds an-extra1 "\\$3\"
 .    ie (\\n[.$] > 3) .ds an-extra2 "\\$4\"
 .    el               .ds an-extra2 \"Sun Release 4.0
+.
 .    ie (\\n[.$] > 4) .ds an-extra3 "\\$5\"
-.    el .ie '\\$2'1'  .ds an-extra3 General Commands Manual
-.    el .ie '\\$2'2'  .ds an-extra3 System Calls Manual
-.    el .ie '\\$2'3'  .ds an-extra3 Library Functions Manual
-.    el .ie '\\$2'3p' .ds an-extra3 Perl Programmers Reference Guide
-.    el .ie '\\$2'4'  .ds an-extra3 Kernel Interfaces Manual
-.    el .ie '\\$2'5'  .ds an-extra3 File Formats Manual
-.    el .ie '\\$2'6'  .ds an-extra3 Games Manual
-.    el .ie '\\$2'7'  .ds an-extra3 Miscellaneous Information Manual
-.    el .ie '\\$2'8'  .ds an-extra3 System Manager's Manual
-.    el .ie '\\$2'9'  .ds an-extra3 Kernel Developer's Manual
+.    el \{ .ie '\\$2'1'  .ds an-extra3 General Commands Manual
+.    el \{ .ie '\\$2'2'  .ds an-extra3 System Calls Manual
+.    el \{ .ie '\\$2'3'  .ds an-extra3 Library Functions Manual
+.    el \{ .ie '\\$2'3p' .ds an-extra3 Perl Programmers Reference Guide
+.    el \{ .ie '\\$2'4'  .ds an-extra3 Kernel Interfaces Manual
+.    el \{ .ie '\\$2'5'  .ds an-extra3 File Formats Manual
+.    el \{ .ie '\\$2'6'  .ds an-extra3 Games Manual
+.    el \{ .ie '\\$2'7'  .ds an-extra3 Miscellaneous Information Manual
+.    el \{ .ie '\\$2'8'  .ds an-extra3 System Manager's Manual
+.    el \{ .ie '\\$2'9'  .ds an-extra3 Kernel Developer's Manual
 .    el               .ds an-extra3
+.    \}\}\}\}\}\}\}\}\}\}
 .    ds an-init
 \\..
 .


From MAILER-DAEMON Mon Mar 05 00:38:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1S4QdF-0004Dt-HK
	for mharc-groff-commit@gnu.org; Mon, 05 Mar 2012 00:38:49 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52375)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S4QdA-0004DT-74
	for groff-commit@gnu.org; Mon, 05 Mar 2012 00:38:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <wl@gnu.org>) id 1S4Qd5-0001Cd-Gu
	for groff-commit@gnu.org; Mon, 05 Mar 2012 00:38:43 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:33911)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S4Qd5-0001CT-Du
	for groff-commit@gnu.org; Mon, 05 Mar 2012 00:38:39 -0500
Received: from wl by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <wl@gnu.org>) id 1S4Qd4-0000De-V4
	for groff-commit@gnu.org; Mon, 05 Mar 2012 05:38:39 +0000
Date: Mon, 05 Mar 2012 05:38:38 +0000
Message-Id: <E1S4Qd4-0000De-V4@vcs.savannah.gnu.org>
To: groff-commit@gnu.org
From: Werner LEMBERG <wl@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
Subject: [Groff-commit] groff ChangeLog tmac/an-ext.tmac
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Mar 2012 05:38:48 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	12/03/05 05:38:38

Modified files:
	.              : ChangeLog 
	tmac           : an-ext.tmac 

Log message:
	* tmac/an-ext.tmac (SY): Handle argument with spaces correctly.
	
	Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1330&r2=1.1331
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/an-ext.tmac?cvsroot=groff&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1330
retrieving revision 1.1331
diff -u -b -r1.1330 -r1.1331
--- ChangeLog	1 Mar 2012 05:05:48 -0000	1.1330
+++ ChangeLog	5 Mar 2012 05:38:38 -0000	1.1331
@@ -1,3 +1,9 @@
+2012-03-05  Werner LEMBERG  <wl@gnu.org>
+
+	* tmac/an-ext.tmac (SY): Handle argument with spaces correctly.
+
+	Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.
+
 2012-03-01  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
 
 	[an-old] Fix warnings.
@@ -6,7 +12,7 @@
 
 2012-02-26  Werner LEMBERG  <wl@gnu.org>
 
-	Update configuration files from `gnulib' and `config' repositories..
+	Update configuration files from `gnulib' and `config' repositories.
 
 	This also fixes a problem with `iconv' on Solaris 10, as reported in
 

Index: tmac/an-ext.tmac
===================================================================
RCS file: /cvsroot/groff/groff/tmac/an-ext.tmac,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- tmac/an-ext.tmac	5 Jan 2009 20:11:16 -0000	1.7
+++ tmac/an-ext.tmac	5 Mar 2012 05:38:38 -0000	1.8
@@ -3,9 +3,9 @@
 .\" Written by Eric S. Raymond <esr@thyrsus.com>
 .\"            Werner Lemberg <wl@gnu.org>
 .\"
-.\" Version 2007-Feb-02
+.\" Version 2012-Mar-05
 .\"
-.\" Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+.\" Copyright (C) 2007, 2009, 2012 Free Software Foundation, Inc.
 .\" You may freely use, modify and/or distribute this file.
 .\"
 .\"
@@ -71,7 +71,8 @@
 .    ns
 .  \}
 .
-.  HP \w'\fB\\$1\fP\ 'u
+.  nr mT \w'\fB\\$1\fP\ '
+.  HP \\n(mTu
 .  B "\\$1"
 ..
 .


From MAILER-DAEMON Sat Mar 10 04:16:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1S6IPJ-000242-Qd
	for mharc-groff-commit@gnu.org; Sat, 10 Mar 2012 04:16:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34030)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S6IPG-000238-6q
	for groff-commit@gnu.org; Sat, 10 Mar 2012 04:16:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <wl@gnu.org>) id 1S6IPD-0007VI-Qh
	for groff-commit@gnu.org; Sat, 10 Mar 2012 04:16:05 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:58593)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <wl@gnu.org>)
	id 1S6IPD-0007VA-NB
	for groff-commit@gnu.org; Sat, 10 Mar 2012 04:16:03 -0500
Received: from wl by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <wl@gnu.org>) id 1S6IPC-0005Cj-UM
	for groff-commit@gnu.org; Sat, 10 Mar 2012 09:16:03 +0000
Date: Sat, 10 Mar 2012 09:16:02 +0000
Message-Id: <E1S6IPC-0005Cj-UM@vcs.savannah.gnu.org>
To: groff-commit@gnu.org
From: Werner LEMBERG <wl@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
Subject: [Groff-commit] groff ChangeLog src/devices/xditview/Makefile.s...
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <groff-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Mar 2012 09:16:08 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	12/03/10 09:16:02

Modified files:
	.              : ChangeLog 
	src/devices/xditview: Makefile.sub 
	src/preproc/grn: main.cpp 
	src/preproc/html: pre-html.cpp 
	src/roff/troff : number.cpp 

Log message:
	Fix compiler warnings.
	
	* src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
	if-else clause.
	
	* src/preproc/grn/main.cpp (sccsid): Comment out.
	
	* src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.
	
	* src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint' so
	that unused static ID arrays don't cause a warning.
	
	(Some) problems reported by Bjarni Ingi Gislason
	<bjarniig@rhi.hi.is>.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1331&r2=1.1332
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/xditview/Makefile.sub?cvsroot=groff&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/grn/main.cpp?cvsroot=groff&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/html/pre-html.cpp?cvsroot=groff&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/troff/number.cpp?cvsroot=groff&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1331
retrieving revision 1.1332
diff -u -b -r1.1331 -r1.1332
--- ChangeLog	5 Mar 2012 05:38:38 -0000	1.1331
+++ ChangeLog	10 Mar 2012 09:16:01 -0000	1.1332
@@ -1,3 +1,20 @@
+2012-03-10  Werner LEMBERG  <wl@gnu.org>
+
+	Fix compiler warnings.
+
+	* src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
+	if-else clause.
+
+	* src/preproc/grn/main.cpp (sccsid): Comment out.
+
+	* src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.
+
+	* src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint' so
+	that unused static ID arrays don't cause a warning.
+
+	(Some) problems reported by Bjarni Ingi Gislason
+	<bjarniig@rhi.hi.is>.
+
 2012-03-05  Werner LEMBERG  <wl@gnu.org>
 
 	* tmac/an-ext.tmac (SY): Handle argument with spaces correctly.

Index: src/devices/xditview/Makefile.sub
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/xditview/Makefile.sub,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- src/devices/xditview/Makefile.sub	12 Jun 2007 06:58:47 -0000	1.6
+++ src/devices/xditview/Makefile.sub	10 Mar 2012 09:16:01 -0000	1.7
@@ -2,7 +2,7 @@
 MAN1=gxditview.n
 MLIB=$(LIBM)
 XLIBS=$(LIBXUTIL)
-EXTRA_CFLAGS=$(X_CFLAGS)
+EXTRA_CFLAGS=$(X_CFLAGS) -Dlint
 EXTRA_LDFLAGS=$(X_LIBS) $(X_PRE_LIBS) -lXaw -lXmu -lXt -lX11 $(X_EXTRA_LIBS)
 OBJS=\
   device.$(OBJEXT) \

Index: src/preproc/grn/main.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/grn/main.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- src/preproc/grn/main.cpp	26 Jan 2006 15:15:00 -0000	1.6
+++ src/preproc/grn/main.cpp	10 Mar 2012 09:16:01 -0000	1.7
@@ -119,7 +119,7 @@
 #define BIG	999999999999.0	/* unweildly large floating number */
 
 
-static char sccsid[] = "@(#) (Berkeley) 8/5/85, 12/28/99";
+/* static char sccsid[] = "@(#) (Berkeley) 8/5/85, 12/28/99"; */
 
 int res;			/* the printer's resolution goes here */
 

Index: src/preproc/html/pre-html.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/html/pre-html.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- src/preproc/html/pre-html.cpp	5 Jan 2009 20:11:07 -0000	1.19
+++ src/preproc/html/pre-html.cpp	10 Mar 2012 09:16:01 -0000	1.20
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2009
+/* Copyright (C) 2000-2004, 2007-2009, 2012
  * 	Free Software Foundation, Inc.
  * Written by Gaius Mulley (gaius@glam.ac.uk).
  *
@@ -1205,11 +1205,12 @@
   }
   else {
     while (i < argc) {
-      if (strcmp(argv[i], IMAGE_DEVICE) == 0)
+      if (strcmp(argv[i], IMAGE_DEVICE) == 0) {
 	if (dialect == xhtml)
 	  argv[i] = (char *)"-Txhtml";
 	else
 	  argv[i] = (char *)"-Thtml";
+      }
       i++;
     }
     argv[troff_arg] = (char *)"groff";	/* use groff -Z */

Index: src/roff/troff/number.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/troff/number.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- src/roff/troff/number.cpp	5 Jan 2009 20:11:13 -0000	1.6
+++ src/roff/troff/number.cpp	10 Mar 2012 09:16:02 -0000	1.7
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2004, 2009
+/* Copyright (C) 1989-1992, 2001, 2002, 2004, 2009, 2012
    Free Software Foundation, Inc.
      Written by James Clark (jjc@jclark.com)
 
@@ -355,7 +355,7 @@
     case '*':
       if (v2 < 0) {
 	if (*v > 0) {
-	  if (*v > -(unsigned)INT_MIN / -(unsigned)v2)
+	  if ((unsigned)*v > -(unsigned)INT_MIN / -(unsigned)v2)
 	    overflow = 1;
 	}
 	else if (-(unsigned)*v > INT_MAX / -(unsigned)v2)


