Difference for server/win32.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 111
 
Line 111
  dp->offset++;   dp->offset++;
   
  strncpy(dp->dent.d_name, dp->fileinfo.name, _MAX_FNAME);   strncpy(dp->dent.d_name, dp->fileinfo.name, _MAX_FNAME);
    dp->dent.d_name[_MAX_FNAME] = '\0';
  dp->dent.d_ino = 1;   dp->dent.d_ino = 1;
   /* reclen is used as meaning the length of the whole record */    /* reclen is used as meaning the length of the whole record */
  dp->dent.d_reclen = strlen(dp->dent.d_name) + sizeof(char) + sizeof(dp->dent.d_ino) + sizeof(dp->dent.d_reclen) + sizeof(dp->dent.d_off);   dp->dent.d_reclen = strlen(dp->dent.d_name) + sizeof(char) + sizeof(dp->dent.d_ino) + sizeof(dp->dent.d_reclen) + sizeof(dp->dent.d_off);


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:53