Check-in [6ad41a2c2b]
Overview
Comment:Updated to return correct value from close handler
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6ad41a2c2b1cbc0636db9b8893ea76db76dba4db
User & Date: rkeene on 2012-09-17 13:36:24
Other Links: manifest | tags
Context
2014-10-24
20:12
First half of renaming check-in: cc9b79793c user: rkeene tags: trunk
2012-09-17
13:36
Updated to return correct value from close handler check-in: 6ad41a2c2b user: rkeene tags: trunk
13:24
Added UNIX domain socket support check-in: 396386bf82 user: rkeene tags: trunk
Changes

Modified system.c from [41a8e8e8cb] to [1a6534ed63].

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);
}

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;







|







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

	fd = id->fd;

	close(fd);

	free(id);

	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;