aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky/files/patch-src-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/conky/files/patch-src-exec.c')
-rw-r--r--sysutils/conky/files/patch-src-exec.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/sysutils/conky/files/patch-src-exec.c b/sysutils/conky/files/patch-src-exec.c
index 78f0073d7f5c..e69de29bb2d1 100644
--- a/sysutils/conky/files/patch-src-exec.c
+++ b/sysutils/conky/files/patch-src-exec.c
@@ -1,28 +0,0 @@
---- src/exec.c.orig 2010-10-27 20:19:48.000000000 +0300
-+++ src/exec.c 2010-10-27 20:19:52.000000000 +0300
-@@ -93,6 +93,7 @@
- } else {
- close(1);
- }
-+ close(parentend);
- dup(childend); //by dupping childend, the returned fd will have close-on-exec turned off
- execl("/bin/sh", "sh", "-c", command, (char *) NULL);
- _exit(EXIT_FAILURE); //child should die here, (normally execl will take care of this but it can fail)
-@@ -156,7 +157,7 @@
- int length;
-
- length = fread(buf, 1, size, fp);
-- pclose(fp);
-+ fclose(fp);
- buf[length] = '\0';
- if (length > 0 && buf[length - 1] == '\n') {
- buf[length - 1] = '\0';
-@@ -320,7 +321,7 @@
- ed->buffer = malloc(text_buffer_size);
-
- length = fread(ed->buffer, 1, text_buffer_size, fp);
-- pclose(fp);
-+ fclose(fp);
-
- output = ed->buffer;
- output[length] = '\0';