[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/klaptopdaemon [POSSIBLY UNSAFE]
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-05-05 16:21:25
[Download RAW message or body]

CVS commit by waba: 

#ifndef / #define / #endif


  M +3 -0      makecrc.cpp   1.3 [POSSIBLY UNSAFE: printf]


--- kdeutils/klaptopdaemon/makecrc.cpp  #1.2:1.3
@@ -30,6 +30,9 @@ int main(int, char**)
         unsigned long len, crc;
         checkcrc("./klaptop_acpi_helper", len, crc);
+        printf("#ifndef _CRCRESULT_H_\n");
+        printf("#define _CRCRESULT_H_\n");
         printf("static unsigned long file_len = 0x%x;\n", len);
         printf("static unsigned long file_crc = 0x%x;\n", crc);
+        printf("#endif\n");
         return(0);
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic