Opened 16 years ago
Closed 15 years ago
#882 closed Defect (fixed)
boinc_mkdir returns generic code on error
Reported by: | Nicolas | Owned by: | davea |
---|---|---|---|
Priority: | Trivial | Milestone: | Undetermined |
Component: | BOINC - API | Version: | 6.6.20 |
Keywords: | Cc: |
Description
If boinc_mkdir
fails on Unix, it returns -1
. Other functions simply propagate retval
s on error. End result is that, for example, if the client fails to create the initial project directories, the error message is gstate.init() failed: -1
, which says nothing about the cause.
It should probably return ERR_MKDIR
(which seems not to be used anywhere in BOINC code).
(but look at dir_hier_path
; it might need changes if boinc_mkdir
retval changes)
Change History (2)
comment:1 Changed 15 years ago by
Component: | Undetermined → BOINC - API |
---|---|
Owner: | set to davea |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in [18250]