Check-in [073819793d]
Overview
Comment:Updated to return correct value from close handler
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: 073819793d2cb097febfd5466cb4c680752e3ee8
User & Date: rkeene on 2012-09-17 13:36:24
Other Links: manifest | tags
Context
2012-09-17
13:36
Updated to return correct value from close handler Leaf check-in: 073819793d user: rkeene tags: trunk
13:24
Added UNIX domain socket support check-in: fc10a2ba9a user: rkeene tags: trunk
Changes

Modified initrd/admin-tclkit/kitcreator-modules/system/system.c from [41a8e8e8cb] to [1a6534ed63].

1893
1894
1895
1896
1897
1898
1899
1900

1901
1902
1903
1904
1905
1906
1907
1893
1894
1895
1896
1897
1898
1899

1900
1901
1902
1903
1904
1905
1906
1907







-
+








	fd = id->fd;

	close(fd);

	free(id);

	return(TCL_OK);
	return(0);
}

static int tclsystem_socket_unix__chan_read(ClientData id_p, char *buf, int bufsize, int *errorCodePtr) {
	struct tclsystem_socket_unix__chan_id *id;
	ssize_t read_ret;
	int fd;
	int retval;