summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2012-05-21 15:21:54 +0000
committerTaco Hoekwater <taco@elvenkind.com>2012-05-21 15:21:54 +0000
commit92498c477e222a7fb71aa16b13956666ebf88c44 (patch)
tree0de60cecb342d1184a643c7fe34ea311e4bc4c86
parent0f8efd8125256f6402f1ef747c7e8fd04e97e480 (diff)
Make sure that "ptexlib.h" is loaded first because that reads config.h
which affects loading of system headers (via Large File Support) git-svn-id: svn://tug.org/texlive/trunk@26542 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog12
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lcallbacklib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lfontlib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lkpselib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/llanglib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/llfslibext.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/llualib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lnodelib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/loslibext.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lpdflib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lstatslib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/ltexiolib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/ltexlib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/ltokenlib.c2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luainit.w2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luanode.w2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luastuff.w2
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luatoken.w2
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/printing.w2
19 files changed, 30 insertions, 18 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 17ca3758dd5..f9bc80b0055 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,15 @@
+2012-05-21 Taco Hoekwater <taco@luatex.org>
+
+ * tex/printing.w, lua/ltokenlib.c, lua/llanglib.c, lua/llualib.c,
+ lua/lnodelib.c, lua/luainit.w, lua/ltexiolib.c,
+ lua/lcallbacklib.c, lua/lstatslib.c, lua/ltexlib.c,
+ lua/loslibext.c, lua/lkpselib.c, lua/luatoken.w, lua/llfslibext.c,
+ lua/lfontlib.c, lua/luanode.w, lua/lpdflib.c, lua/luastuff.w:
+ when loading both "ptexlib.h" and "lua/luatex-api.h", make sure
+ that "ptexlib.h" is loaded first because that reads config.h
+ which affects loading of system headers (via Large File Support,
+ specifically).
+
2012-05-20 Khaled Hosny <khaledhosny@eglug.org>
* tex/mlist.w: fix "warning: 'ext' might be used uninitialized".
diff --git a/Build/source/texk/web2c/luatexdir/lua/lcallbacklib.c b/Build/source/texk/web2c/luatexdir/lua/lcallbacklib.c
index 98444a9f705..8ca0f84e3c3 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lcallbacklib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lcallbacklib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: lcallbacklib.c 3965 2010-11-22 12:38:45Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/lcallbacklib.c $";
diff --git a/Build/source/texk/web2c/luatexdir/lua/lfontlib.c b/Build/source/texk/web2c/luatexdir/lua/lfontlib.c
index e6b45578d55..53aad41a0e4 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lfontlib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lfontlib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
diff --git a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
index 7a54d138b64..ae0ca3d11f1 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
#include <kpathsea/expand.h>
#include <kpathsea/variable.h>
#include <kpathsea/tex-glyph.h>
diff --git a/Build/source/texk/web2c/luatexdir/lua/llanglib.c b/Build/source/texk/web2c/luatexdir/lua/llanglib.c
index 76cd921c2a2..8a3a02cd766 100644
--- a/Build/source/texk/web2c/luatexdir/lua/llanglib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/llanglib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
diff --git a/Build/source/texk/web2c/luatexdir/lua/llfslibext.c b/Build/source/texk/web2c/luatexdir/lua/llfslibext.c
index 0e17a4e6a1c..f783967aa8f 100644
--- a/Build/source/texk/web2c/luatexdir/lua/llfslibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/llfslibext.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
#include <kpathsea/c-stat.h>
#include <kpathsea/c-dir.h>
diff --git a/Build/source/texk/web2c/luatexdir/lua/llualib.c b/Build/source/texk/web2c/luatexdir/lua/llualib.c
index de1ec5d5d2c..f99b85f2083 100644
--- a/Build/source/texk/web2c/luatexdir/lua/llualib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/llualib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: llualib.c 3615 2010-04-13 21:59:59Z oneiros $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/llualib.c $";
diff --git a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
index 066815cc7ca..c4c3a1dcd49 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
@@ -21,8 +21,8 @@ static const char _svn_version[] =
"$Id: lnodelib.c 4166 2011-04-16 09:12:20Z taco $ "
"$URL: http://foundry.supelec.fr/svn/luatex/branches/0.70.x/source/texk/web2c/luatexdir/lua/lnodelib.c $";
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
#define init_luaS_index(a) do { \
lua_pushliteral(L,#a); \
diff --git a/Build/source/texk/web2c/luatexdir/lua/loslibext.c b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
index 1fda293513b..8888d08a7cf 100644
--- a/Build/source/texk/web2c/luatexdir/lua/loslibext.c
+++ b/Build/source/texk/web2c/luatexdir/lua/loslibext.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
#include <kpathsea/c-stat.h>
#include <kpathsea/c-dir.h>
diff --git a/Build/source/texk/web2c/luatexdir/lua/lpdflib.c b/Build/source/texk/web2c/luatexdir/lua/lpdflib.c
index c3d16111e6b..7ece70e857f 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lpdflib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lpdflib.c
@@ -21,8 +21,8 @@ static const char _svn_version[] =
"$Id: lpdflib.c 3941 2010-11-01 23:31:27Z hhenkel $ "
"$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/lpdflib.c $";
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static int luapdfprint(lua_State * L)
{
diff --git a/Build/source/texk/web2c/luatexdir/lua/lstatslib.c b/Build/source/texk/web2c/luatexdir/lua/lstatslib.c
index 49a72210577..07d5c1be1ed 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lstatslib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lstatslib.c
@@ -21,8 +21,8 @@ static const char _svn_version[] =
"$Id: lstatslib.c 3477 2010-03-12 13:59:34Z taco $ "
"$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/lstatslib.c $";
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
typedef struct statistic {
const char *name;
diff --git a/Build/source/texk/web2c/luatexdir/lua/ltexiolib.c b/Build/source/texk/web2c/luatexdir/lua/ltexiolib.c
index 6acd371161c..0a30e552587 100644
--- a/Build/source/texk/web2c/luatexdir/lua/ltexiolib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/ltexiolib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: ltexiolib.c 3550 2010-03-26 14:37:09Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/ltexiolib.c $";
diff --git a/Build/source/texk/web2c/luatexdir/lua/ltexlib.c b/Build/source/texk/web2c/luatexdir/lua/ltexlib.c
index b46df34ec06..e9e05b8b7aa 100644
--- a/Build/source/texk/web2c/luatexdir/lua/ltexlib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/ltexlib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
diff --git a/Build/source/texk/web2c/luatexdir/lua/ltokenlib.c b/Build/source/texk/web2c/luatexdir/lua/ltokenlib.c
index 4f3913e0bc3..9632c9ec533 100644
--- a/Build/source/texk/web2c/luatexdir/lua/ltokenlib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/ltokenlib.c
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: ltokenlib.c 3404 2010-01-28 11:17:10Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/ltokenlib.c $";
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w
index 39dc6d70fbb..876b901bd7b 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luainit.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w
@@ -21,8 +21,8 @@
#include "openbsd-compat.h"
#include <kpathsea/c-stat.h>
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: luainit.w 4260 2011-05-13 07:03:44Z taco $ $URL: http://foundry.supelec.fr/svn/luatex/branches/0.70.x/source/texk/web2c/luatexdir/lua/luainit.w $";
diff --git a/Build/source/texk/web2c/luatexdir/lua/luanode.w b/Build/source/texk/web2c/luatexdir/lua/luanode.w
index 56f6cf734b2..7b280d525ee 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luanode.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luanode.w
@@ -18,8 +18,8 @@
% with LuaTeX; if not, see <http://www.gnu.org/licenses/>.
@ @c
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
diff --git a/Build/source/texk/web2c/luatexdir/lua/luastuff.w b/Build/source/texk/web2c/luatexdir/lua/luastuff.w
index fdd38dbd798..8a43555fae6 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luastuff.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luastuff.w
@@ -22,8 +22,8 @@ static const char _svn_version[] =
"$Id: luastuff.w 4001 2010-11-28 15:49:46Z taco $ "
"$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/luastuff.w $";
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
@ @c
lua_State *Luas = NULL;
diff --git a/Build/source/texk/web2c/luatexdir/lua/luatoken.w b/Build/source/texk/web2c/luatexdir/lua/luatoken.w
index d41dd78db88..d7bc02a7d52 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luatoken.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luatoken.w
@@ -18,8 +18,8 @@
% with LuaTeX; if not, see <http://www.gnu.org/licenses/>.
@ @c
-#include "lua/luatex-api.h"
#include "ptexlib.h"
+#include "lua/luatex-api.h"
static const char _svn_version[] =
"$Id: luatoken.w 3849 2010-09-01 09:10:48Z taco $ "
diff --git a/Build/source/texk/web2c/luatexdir/tex/printing.w b/Build/source/texk/web2c/luatexdir/tex/printing.w
index c2e9cb9a92f..09e05aa23c2 100644
--- a/Build/source/texk/web2c/luatexdir/tex/printing.w
+++ b/Build/source/texk/web2c/luatexdir/tex/printing.w
@@ -18,8 +18,8 @@
% with LuaTeX; if not, see <http://www.gnu.org/licenses/>.
@ @c
-#include "lua/luatex-api.h" /* for ptexbanner */
#include "ptexlib.h"
+#include "lua/luatex-api.h" /* for ptexbanner */
static const char _svn_version[] =
"$Id: printing.w 3885 2010-09-14 19:24:08Z oneiros $"