/[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 786 by astrand, Thu Oct 21 08:13:33 2004 UTC revision 787 by astrand, Thu Oct 21 08:28:03 2004 UTC
# Line 241  disk_create(uint32 device_id, uint32 acc Line 241  disk_create(uint32 device_id, uint32 acc
241          flags = 0;          flags = 0;
242          mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;          mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
243    
244            if (*filename && filename[strlen(filename) - 1] == '/')
         if (filename[strlen(filename) - 1] == '/')  
245                  filename[strlen(filename) - 1] = 0;                  filename[strlen(filename) - 1] = 0;
246          sprintf(path, "%s%s", g_rdpdr_device[device_id].local_path, filename);          sprintf(path, "%s%s", g_rdpdr_device[device_id].local_path, filename);
247    

Legend:
Removed from v.786  
changed lines
  Added in v.787

  ViewVC Help
Powered by ViewVC 1.1.26