Skip to content

Commit

Permalink
bibtex-x: Avoid compiler warnings on Windows
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@67984 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
t-tk committed Aug 19, 2023
1 parent 4d1a042 commit 3fd698f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 5 additions & 0 deletions texk/bibtex-x/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2023-08-20 TANAKA Takuji <ttk@t-lab.opal.ne.jp>

* bibtex.c, sysdep.h: Avoid compiler warnings on Windows.
* tests/bibtex8u-mem.test: Tweak.

2023-08-11 TANAKA Takuji <ttk@t-lab.opal.ne.jp>

* tests/bibtex{8,u}.test, tests/bibtex8-{char,sort}.test,
Expand Down
6 changes: 0 additions & 6 deletions texk/bibtex-x/bibtex.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@
#include <config.h>
#endif

#ifdef KPATHSEA
#include <kpathsea/config.h>
#include <kpathsea/progname.h>
#include <kpathsea/variable.h>
#endif

#include "sysdep.h"
#include "bibtex.h"
#include "datatype.h"
Expand Down
5 changes: 5 additions & 0 deletions texk/bibtex-x/sysdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
#include <string.h>
#include <ctype.h>

#ifdef KPATHSEA
#include <kpathsea/config.h>
#include <kpathsea/progname.h>
#include <kpathsea/variable.h>
#endif

/*-
**============================================================================
Expand Down
4 changes: 2 additions & 2 deletions texk/bibtex-x/tests/bibtex8u-mem.test
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ for t in 1 2 3; do
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/../web2c/tests'\;'$srcdir/csf \
BIBINPUTS=./tests \
$_bibtex8 -s tests/memtest$t || exit 1
$_bibtex8 -s tests/memtest$t || exit $((10 + t))

cp -p tests/memtest$t.aux tests/memtestu$t.aux
eval $env \
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/../web2c/tests \
BIBINPUTS=./tests \
$_bibtexu -s tests/memtestu$t || exit 2
$_bibtexu -s tests/memtestu$t || exit $((20 + t))

done

0 comments on commit 3fd698f

Please sign in to comment.