comparison lib-src/make-dump-id.c @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents abe6d1db359e
children 8bae4d6cdd10
comparison
equal deleted inserted replaced
459:9d4fd877b885 460:223736d75acb
62 { 62 {
63 perror ("open dump-id.c"); 63 perror ("open dump-id.c");
64 return EXIT_FAILURE; 64 return EXIT_FAILURE;
65 } 65 }
66 66
67 fprintf (f, 67 fprintf (f, "unsigned int dump_id = %uU;\n", generate_dump_id ());
68 "#include <dump-id.h>\n"
69 "unsigned int dump_id = %uU;\n",
70 generate_dump_id ());
71 68
72 if ((fclose (f)) != 0) 69 if ((fclose (f)) != 0)
73 { 70 {
74 perror ("close dump-id.c"); 71 perror ("close dump-id.c");
75 return EXIT_FAILURE; 72 return EXIT_FAILURE;