Fix fd leak to children

This commit is contained in:
o9000
2017-07-16 10:14:40 +02:00
parent a46d22b31f
commit f4ec61340f
3 changed files with 14 additions and 1 deletions

View File

@@ -116,6 +116,8 @@ void draw_rect_on_sides(cairo_t *c, double x, double y, double w, double h, doub
// Clears the pixmap (with transparent color)
void clear_pixmap(Pixmap p, int x, int y, int w, int h);
void close_all_fds();
// Appends to the list locations all the directories contained in the environment variable var (split by ":").
// Optional suffixes are added to each directory. The suffix arguments MUST end with NULL.
// Returns the new value of the list.