src/share/vm/adlc/archDesc.cpp

changeset 1403
5fdbe2cdf565
parent 1063
7bb995fbd3c0
child 1907
c18cbe5936b8
equal deleted inserted replaced
1353:6ab1d6ece8bd 1403:5fdbe2cdf565
1029 1029
1030 1030
1031 //---------------------------addSUNcopyright------------------------------- 1031 //---------------------------addSUNcopyright-------------------------------
1032 // output SUN copyright info 1032 // output SUN copyright info
1033 void ArchDesc::addSunCopyright(char* legal, int size, FILE *fp) { 1033 void ArchDesc::addSunCopyright(char* legal, int size, FILE *fp) {
1034 fwrite(legal, size, 1, fp); 1034 size_t count = fwrite(legal, 1, size, fp);
1035 assert(count == (size_t) size, "copyright info truncated");
1035 fprintf(fp,"\n"); 1036 fprintf(fp,"\n");
1036 fprintf(fp,"// Machine Generated File. Do Not Edit!\n"); 1037 fprintf(fp,"// Machine Generated File. Do Not Edit!\n");
1037 fprintf(fp,"\n"); 1038 fprintf(fp,"\n");
1038 } 1039 }
1039 1040

mercurial