Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fprintf(f, "usage: #!/usr/bin/cgi-fcgi-interp [<options>]\n");
}
+void ident_addinit(void) {
+}
+
static int stderr_copy;
static void make_stderr_copy(void) {
{ 0 }
};
+void ident_addinit(void) {
+ char ident_magic[1] = { 0 };
+ sha256_update(&identsc, sizeof(ident_magic), ident_magic);
+}
+
static void propagate_exit_status(int status, const char *what) {
int r;
const char *smashedopt;
sha256_init(&identsc);
+ ident_addinit();
if ((*argv_io)[0] &&
(smashedopt = (*argv_io)[1]) &&
void of_iassign(const struct cmdinfo *ci, const char *val);
void ident_addstring(const struct cmdinfo *ci, const char *string);
void off_ident_addenv(const struct cmdinfo *ci, const char *name);
+void ident_addinit(void);
#endif /*PREFORK_H*/