Opened 15 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 retvals 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 Nicolas

Component: UndeterminedBOINC - API
Owner: set to davea

comment:2 Changed 15 years ago by davea

Resolution: fixed
Status: newclosed

fixed in [18250]

Note: See TracTickets for help on using tickets.