[BACK]Return to gen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / asn1_compile

Diff for /src/usr.bin/asn1_compile/Attic/gen.c between version 1.2 and 1.3

version 1.2, 2005/03/08 03:05:07 version 1.3, 2005/05/11 19:45:50
Line 430 
Line 430 
     struct import *i;      struct import *i;
     char *filename;      char *filename;
   
     asprintf (&filename, "%s_%s.x", STEM, s->gen_name);      if (asprintf (&filename, "%s_%s.x", STEM, s->gen_name) == -1)
           err (1, NULL);
     codefile = fopen (filename, "w");      codefile = fopen (filename, "w");
     if (codefile == NULL)      if (codefile == NULL)
         err (1, "fopen %s", filename);          err (1, "fopen %s", filename);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3