diff options
author | wlemb <wlemb> | 2001-07-12 22:11:00 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-07-12 22:11:00 +0000 |
commit | 555085ba5f32dffa70f3a1b1b899f2f48482b3b6 (patch) | |
tree | b7b237ac8433fc7fda641fe7e40beda55ad18ad6 /src/include/lib.h | |
parent | 51efe4969e9cd59f8fa3ebdc9f79049c302c538b (diff) | |
download | groff-555085ba5f32dffa70f3a1b1b899f2f48482b3b6.tar.gz |
2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>
Merge -xwidth into -width. Add -xwidth functionality to -column
also.
* tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
avoid warning.
(doc-do-Bl-args): Merge -xwidth code with -width. Test whether
string immediately following a leading dot starts with a valid mdoc
argument.
Add similar code to the -column branch.
(doc-Bl-usage): Updated.
* groff_mdoc.man: s/-xwidth/-width/.
2001-07-12 Gaius Mulley <gaius@glam.ac.uk>
* src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
running into centered or non-formatted text.
2001-07-11 Werner LEMBERG <wl@gnu.org>
Introduce short and long prefixes to have the selection at run-time
whether there is a 8+3 limit for names of temporary files.
* src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
(TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
(tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
variables.
(temp_init): New global structure to initialize above three
variables.
(xtmptemplate): Use two parameters for long and short prefix.
Simplify code use above three variables.
(xtmpfile): Use long and short prefixes as parameters.
* src/include/lib.h: Updated.
* src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
with ...
({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
(createAllPages, makeTempFiles): Updated.
2001-07-09 Werner LEMBERG <wl@gnu.org>
* REVISION: Increased to 3.
Diffstat (limited to 'src/include/lib.h')
-rw-r--r-- | src/include/lib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index db5277c0..c424b8e8 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -43,8 +43,10 @@ int is_prime(unsigned); #include <strings.h> #endif -FILE *xtmpfile(char **namep = 0, char *postfix = 0, int do_unlink = 1); -char *xtmptemplate(char *extension = 0); +FILE *xtmpfile(char **namep = 0, + const char *postfix_long = 0, const char *postfix_short = 0, + int do_unlink = 1); +char *xtmptemplate(const char *postfix_long, const char *postfix_short); #ifdef NEED_DECLARATION_POPEN |