fix backwards posix_spawn file action order
[musl] / src / process / fdop.h
index 72f9b5f..02ff83c 100644 (file)
@@ -3,7 +3,7 @@
 #define FDOP_OPEN 3
 
 struct fdop {
-       struct fdop *next;
+       struct fdop *next, *prev;
        int cmd, fd, newfd, oflag;
        mode_t mode;
        char path[];