[syslinux] lua: Modernize the Makefile

Geert Stappers stappers at stappers.nl
Fri Jul 16 01:50:52 PDT 2010


  <previous in="this thread">
     <topic>
        'rm -f liblua.a' is needed to get clean build behaviour.
     </topic>
     <topic>
        the tool "ar" and it's options
     </topic>
  </previos>

Op 20100713 om 10:17 schreef H. Peter Anvin:
> 
> Removing it and starting from scratch is the clean thing to do.
> 

Here a repost of a patch that was posted in this thread.
<joke>As it is the second time, it is now included twice.</joke>
Once inline and once attached.


Cheers
Geert Stappers

diff --git a/com32/lua/src/dmi.c b/com32/lua/src/dmi.c
index 0c89ea9..d030533 100644
--- a/com32/lua/src/dmi.c
+++ b/com32/lua/src/dmi.c
@@ -15,7 +15,6 @@ static int dmi_gettable(lua_State *L)
 
   lua_newtable(L);
 
-  /* FIXME initalize *dmi */
   if ( ! dmi_iterate(&dmi) ) {
           printf("No DMI Structure found\n");
           return -1;
@@ -279,7 +278,6 @@ static int dmi_supported(lua_State *L)
 {
   s_dmi dmi;
 
-  /* FIXME initalize *dmi */
   if ( dmi_iterate(&dmi) ) {
     lua_pushboolean(L, 1);
   } else {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oldReminders.patch
Type: text/x-diff
Size: 526 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100716/2ea1de15/attachment.bin>


More information about the Syslinux mailing list