Bug 1955 - error confusion
Summary: error confusion
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.7
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 08:03 UTC by Love
Modified: 2005-08-24 10:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Love 2004-10-21 08:03:37 UTC
return False (0) on error vs return 0 on success (fd_close_posix)

int fd_close_posix(struct connection_struct *conn, files_struct *fsp)
[....]
		if (!add_fd_to_close_entry(fsp)) {
			SAFE_FREE(entries);
			return False;
		}

		SAFE_FREE(entries);
		fsp->fd = -1;
		return 0;
Comment 1 Jeremy Allison 2004-10-21 11:39:01 UTC
Fixed in SVN. Thanks !
Jeremy.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:24:14 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.