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

Rozdiely pre cpdf/cpdf.c medzi verziami 1.6 a 1.7

verzia 1.6, 2002/10/08 18:48:58 verzia 1.7, 2002/10/09 22:06:35
Riadok 11 
Riadok 11 
 #include "parse.h"  #include "parse.h"
 #include "cpdf.h"  #include "cpdf.h"
   
 /* $Platon: cpdf.c,v 1.5 2002/10/03 18:24:26 lynx Exp $ */  /* $Platon: cpdf/cpdf.c,v 1.6 2002/10/08 18:48:58 lynx Exp $ */
 static struct option lopt[] = {  static struct option lopt[] = {
   
         {"mode", required_argument, 0, 'm'},          {"mode", required_argument, 0, 'm'},
Riadok 60  int main(int argc, char **argv)
Riadok 60  int main(int argc, char **argv)
         }          }
         {          {
                 char ispdf[5];                  char ispdf[5];
                 fread((char *) &ispdf, 5, 1, fp);                  fread(ispdf, 5, 1, fp);
                 if (strncmp((char *) &ispdf, "%PDF-", 5) != 0) {                  if (strncmp(ispdf, "%PDF-", 5) != 0) {
                         fprintf(stderr, "%s is not PDF document!\n",                          fprintf(stderr, "%s is not PDF document!\n",
                                 argv[1]);                                  argv[1]);
                         exit(errno);                          exit(errno);
Riadok 71  int main(int argc, char **argv)
Riadok 71  int main(int argc, char **argv)
         printf("Using %s mode\n", vga_getmodename(mode));          printf("Using %s mode\n", vga_getmodename(mode));
 #endif  #endif
 /*      vga_init();  /*      vga_init();
           setuid(getuid());
           setgid(getgid());
         vga_setmode(mode);          vga_setmode(mode);
         gl_setcontextvga(mode);*/          gl_setcontextvga(mode);*/
         parse_pdf();          parse_pdf();

Legend:
Odstranené z verzie1.6  
zmenené riadky
  Pridané vo verzii1.7

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