From 344c833f0edd872ec8a6c6e315d450cbbb9a7d67 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 4 Nov 2009 01:02:49 +0000 Subject: [PATCH] fix build failure in inpout32 and old urjtag library code git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1681 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 3 +++ urjtag/src/tap/parport/direct.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index c8527798..f35e8795 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -6,6 +6,9 @@ * configure.ac: Fix handling of inpout32 variables. + * src/tap/parport/direct.c: Fix build failure in inpout32 code due to + urjtag library overhaul. + 2009-10-28 Arnim Laeuger * src/svf/svf.h, src/svf/svf_bison.y, src/svf/svf_flex.l: diff --git a/urjtag/src/tap/parport/direct.c b/urjtag/src/tap/parport/direct.c index 5693cefc..e7a3e185 100644 --- a/urjtag/src/tap/parport/direct.c +++ b/urjtag/src/tap/parport/direct.c @@ -155,7 +155,7 @@ direct_parport_alloc (unsigned int port) { urj_error_set (URJ_ERROR_IO, _("Couldn't load InpOut32.dll; maybe not installed?")); - urj_error.sys_errno = GetLastError(); + urj_error_state.sys_errno = GetLastError(); return NULL; }