Parent Directory
|
Revision Log
|
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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |