View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000428 | LDMud 3.3 | Efuns | public | 2005-12-23 03:11 | 2007-05-04 15:15 |
Reporter | hkremss | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0000428: more detailed return codes for filesys efuns | ||||
Description | Last week one of our wizards had problems with a wizard tool. The tool could not create a file somewhere in his home. The default error message was something like 'Could not write file for some reason, maybe missing access rights.', the only message the tool creates, if write_file(E) fails. He was not able to find the reason and noone else was online to help. The reason for this message is (from write_file(E) manpage) 'Returns 0 for failure and 1 for success.' The same thing for rm(E), mkdir(E), rmdir(E), rename(E), copy_file(E). Only file_size(E) has two different error return codes. I think it would be great to have either more detailed return codes for all file system efuns or a last_error() efun to get more detailed information. This is a feature request. | ||||
Tags | No tags attached. | ||||