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

Diff for /src/usr.bin/xstr/Attic/xstr.c between version 1.13 and 1.14

version 1.13, 2004/07/26 09:04:18 version 1.14, 2007/09/10 14:29:53
Line 390 
Line 390 
                 for (hp = bucket[i].hnext; hp != NULL; hp = hp->hnext) {                  for (hp = bucket[i].hnext; hp != NULL; hp = hp->hnext) {
                         found(hp->hnew, hp->hpt, hp->hstr);                          found(hp->hnew, hp->hpt, hp->hstr);
                         if (hp->hnew) {                          if (hp->hnew) {
                                 fseek(mesgwrit, hp->hpt, 0);                                  fseek(mesgwrit, hp->hpt, SEEK_SET);
                                 fwrite(hp->hstr, strlen(hp->hstr) + 1, 1, mesgwrit);                                  fwrite(hp->hstr, strlen(hp->hstr) + 1, 1, mesgwrit);
                                 if (ferror(mesgwrit)) {                                  if (ferror(mesgwrit)) {
                                         perror(strings);                                          perror(strings);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14