/[rdesktop]/sourceforge.net/trunk/rdesktop/disk.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/disk.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 978 by stargo, Mon Aug 15 11:44:35 2005 UTC revision 986 by astrand, Wed Aug 24 11:31:58 2005 UTC
# Line 491  disk_create(uint32 device_id, uint32 acc Line 491  disk_create(uint32 device_id, uint32 acc
491          g_fileinfo[handle].device_id = device_id;          g_fileinfo[handle].device_id = device_id;
492          g_fileinfo[handle].flags_and_attributes = flags_and_attributes;          g_fileinfo[handle].flags_and_attributes = flags_and_attributes;
493          g_fileinfo[handle].accessmask = accessmask;          g_fileinfo[handle].accessmask = accessmask;
494          strncpy(g_fileinfo[handle].path, path, PATH_MAX-1);          strncpy(g_fileinfo[handle].path, path, PATH_MAX - 1);
495          g_fileinfo[handle].delete_on_close = False;          g_fileinfo[handle].delete_on_close = False;
496          g_notify_stamp = True;          g_notify_stamp = True;
497    
# Line 1130  disk_query_directory(NTHANDLE handle, ui Line 1130  disk_query_directory(NTHANDLE handle, ui
1130                          /* If a search pattern is received, remember this pattern, and restart search */                          /* If a search pattern is received, remember this pattern, and restart search */
1131                          if (pattern[0] != 0)                          if (pattern[0] != 0)
1132                          {                          {
1133                                  strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX-1);                                  strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX - 1);
1134                                  rewinddir(pdir);                                  rewinddir(pdir);
1135                          }                          }
1136    

Legend:
Removed from v.978  
changed lines
  Added in v.986

  ViewVC Help
Powered by ViewVC 1.1.26