All pastes #211808 Raw Edit

nihirc

public c v1 · immutable
#211808 ·published 2006-10-20 14:26 UTC
rendered paste body
 while(fgets(buf,fh,255))  {    if(buf[0]=='#')   // Commentaire dans ce format : #                                if(strncmp(buf[1],"###",3)) // et si c'etait un changement de ligne                if(1!=sscanf(buf[4],"%8[^:]%s:",cur_line))          die("graph_open_ens : parse error ( ####line: ... )");      continue;        else      if(3!=sscanf(buf,"%8[^:]%s:%[^:]%c:%128[^:]%s"),line_buf,dir_buf,name_buf)        if(!strncmp(prev_line,line_buf,8))  }