bug(num_writes is never zero because it is unsigned value)


Success and failure of apr_file_write should be judged by its return value.