diff options
author | wlemb <wlemb> | 2000-05-28 21:46:39 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-05-28 21:46:39 +0000 |
commit | c18727f21242efc8170dd82fd244ab251ae0e70f (patch) | |
tree | 52775fc18426acb6eb266b6965c26388420bfc89 | |
parent | 2a0b0a2a11a0baa754770570f1f0301a82aed619 (diff) | |
download | groff-c18727f21242efc8170dd82fd244ab251ae0e70f.tar.gz |
* src/roff/nroff/nroff.sh: Fix infinite loop.
* src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
* man/roff.man: Removed unused macro.
* Makefile.in (dist): Remove src/xditview/Imakefile explicitly.
This is needed e.g. if you do
`make distclean; ./configure; make dist'.
-rw-r--r-- | ChangeLog | 19 | ||||
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | doc/groff.texinfo | 25 | ||||
-rw-r--r-- | man/roff.man | 11 | ||||
-rw-r--r-- | src/roff/nroff/nroff.sh | 5 | ||||
-rw-r--r-- | src/utils/indxbib/indxbib.cc | 1 |
6 files changed, 46 insertions, 16 deletions
@@ -1,3 +1,22 @@ +2000-05-28 Keith Thompson <kst@sdsc.edu> + + * src/roff/nroff/nroff.sh: Fix infinite loop. + + * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp(). + +2000-05-25 Werner LEMBERG <wl@gnu.org> + + * man/roff.man: Removed unused macro. + +2000-05-24 Werner LEMBERG <wl@gnu.org> + + * Makefile.in (dist): Remove src/xditview/Imakefile explicitly. + This is needed e.g. if you do + `make distclean; ./configure; make dist'. + +Version 1.16 released +===================== + 2000-05-23 Werner LEMBERG <wl@gnu.org> Adding font CWI (constant width italic) to devdvi. diff --git a/Makefile.in b/Makefile.in index e4ff780a..ca510084 100644 --- a/Makefile.in +++ b/Makefile.in @@ -467,6 +467,7 @@ dist: done; \ rm -f Makefile; \ $(LN_S) $$srcdir/Makefile.init Makefile + rm -f src/xditview/Imakefile; mv tmp groff-$(version)$(revision) tar cfh - groff-$(version)$(revision) | \ gzip -c >groff-$(version)$(revision).tar.gz diff --git a/doc/groff.texinfo b/doc/groff.texinfo index fed335af..c15c5f68 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -4241,7 +4241,6 @@ macros inadvertently insert some vertical space before the text starts is associated with the current diversion level. @c XXX xref - @end_Deffn @Deffn{Request, rs, } @@ -4249,7 +4248,6 @@ Disable no-space mode. This request is associated with the current diversion level. @c XXX xref - @end_Deffn @@ -4570,6 +4568,26 @@ no-break control character is associated with the current environment @Deffn{Request, eo, } Disable the escape mechanism completely. After executing this request, the backslash character @samp{\} no longer starts an escape sequence. + +This request can be very helpful in writing macros since it is not +necessary then to double the escape character. Here an example: + +@example +.\" This is a simplified version of the +.\" .BR request from the man macro package +.eo +.de BR +. ds result \& +. while (\n[.$] >= 2) \{\ +. as result \fB\$1\fR\$2 +. shift 2 +. \} +. if \n[.$] .as result \fB\$1 +\*[result] +. ft R +.. +.ec +@end example @end_Deffn @cindex escape character @@ -4696,7 +4714,6 @@ string), it is no longer affected by @code{tr}. @item Without an argument, the @code{tr} request is ignored. @end itemize - @end_Deffn @findex \! @@ -6202,7 +6219,7 @@ name. This would be called as @example -.vl $Id: groff.texinfo,v 1.38 2000/05/22 06:21:49 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.39 2000/05/28 21:46:40 wlemb Exp $ @end example @xref{Request Arguments}. diff --git a/man/roff.man b/man/roff.man index 83f6802a..793ce61e 100644 --- a/man/roff.man +++ b/man/roff.man @@ -35,17 +35,6 @@ FDL in the main directory of the groff source package. . if 1 \&\\$*\& .. . -.de BIR -.ie (\\n[.$] < 3) \ -. BI $@ -.el \{\ -. ds @tmp@ \fB\\$1\fP\fI\\$2\fP -. shift 2 -. text \\*[@tmp@]\fR\\$*\fP -. rm @tmp@ -.\} -.. -. .de option . ds @tmp@ \f(CB\\$1\fP . shift 1 diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh index 095c047b..b1cab836 100644 --- a/src/roff/nroff/nroff.sh +++ b/src/roff/nroff/nroff.sh @@ -36,7 +36,10 @@ esac opts= safer=-S -for i; do +# `for i; do' doesn't work with some versions of sh + +for i + do case $1 in -h) opts="$opts -P-h" ;; diff --git a/src/utils/indxbib/indxbib.cc b/src/utils/indxbib/indxbib.cc index 052f4a4e..4b28d983 100644 --- a/src/utils/indxbib/indxbib.cc +++ b/src/utils/indxbib/indxbib.cc @@ -38,6 +38,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ extern "C" { // Sun's stdlib.h fails to declare this. char *mktemp(char *); + int mkstemp(char *); } #define DEFAULT_HASH_TABLE_SIZE 997 |