If the config file to be parsed does not exist, config_from_file should return ENOENT and leave it up to the calling function whether this should be treated as an error.
Currently, config_from_file returns an empty collection instead.
Addendum: the returned error_list should also report that the file was not found if print_file_parsing_errors is called.
Fields changed
status: new => assigned
I do not agree with the addendum: this is not a file parsing error. It should not be a part of the error list.
The main issue was fixed. [[BR]] Steve agreed that the requirement mentioned in the addendum is not the right expectation.
resolution: => fixed status: assigned => closed
Fixed in commit [b531c1872952c5f9a2a46d0a0dfe8dc63be470fd]
rhbz: => 0
Metadata Update from @sgallagh: - Issue assigned to dpal - Issue set to the milestone: void
Login to comment on this ticket.