Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre libplaton/platon/cpu/x86cpuid.c medzi verziami 1.4 a 1.5

verzia 1.4, 2002/09/29 03:55:01 verzia 1.5, 2010/04/24 10:20:20
Riadok 28  char *x86cpuid(void)
Riadok 28  char *x86cpuid(void)
         str = (char *) malloc(sizeof(char) * (3 * 4 + 2 * 9 + 1));          str = (char *) malloc(sizeof(char) * (3 * 4 + 2 * 9 + 1));
   
 #if DEBUG  #if DEBUG
         fprintf(stderr, "get_x86cpuid(): %d bytes allocated using malloc()\n",          fprintf(stderr, "%s(): %d bytes allocated using malloc()\n",
                         (3 * 4 + 2 * 9 + 1));                          __FUNCTION__, (3 * 4 + 2 * 9 + 1));
 #endif  #endif
   
         if (str != NULL) {          if (str != NULL) {
Riadok 50  char *x86cpuid(void)
Riadok 50  char *x86cpuid(void)
                 sprintf(str + k, "-%08lx-%08lx", y[0], y[3]);                  sprintf(str + k, "-%08lx-%08lx", y[0], y[3]);
   
 #if DEBUG  #if DEBUG
                 fprintf(stderr, "get_x86cpuid(): real string size: %d\n", strlen(str));                  fprintf(stderr, "%s(): real string size: %d\n", __FUNCTION__, strlen(str));
 #endif  #endif
         }          }
   

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok