Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
gkrellm
gkrellm-getline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gkrellm-getline.patch of Package gkrellm
--- server/main.c +++ server/main.c @@ -249,7 +249,7 @@ #if 0 static gint -getline(gint fd, gchar *buf, gint len) +my_getline(gint fd, gchar *buf, gint len) { fd_set read_fds; struct timeval tv; @@ -523,7 +523,7 @@ buf[err] = '\0'; else buf[0] = '\0'; - //getline(fd, buf, sizeof(buf)); + //my_getline(fd, buf, sizeof(buf)); if (_GK.verbose) g_print(_("connect string from client: %s\n"), buf); --- src/client.c +++ src/client.c @@ -1620,7 +1620,7 @@ static gint -getline(gint fd, gchar *buf, gint len) +my_getline(gint fd, gchar *buf, gint len) { fd_set read_fds; struct timeval tv; @@ -1714,7 +1714,7 @@ while (1) { - rs=getline(fd, buf, sizeof(buf)); + rs=my_getline(fd, buf, sizeof(buf)); if(rs<0) return FALSE; if (!strcmp(buf, "</gkrellmd_setup>")) @@ -1732,7 +1732,7 @@ table_size = sizeof(update_table) / sizeof(KeyTable); while (1) { - rs=getline(fd, buf, sizeof(buf)); + rs=my_getline(fd, buf, sizeof(buf)); if(rs<0) return FALSE; if (!strcmp(buf, "</initial_update>"))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor