added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
Patch originally from Fedora
http://pkgs.fedoraproject.org/cgit/tftp.git/
Upstream-Status: Pending
diff -up tftp-hpa-0.49/tftpd/tftpd.c.chk_retcodes tftp-hpa-0.49/tftpd/tftpd.c
--- tftp-hpa-0.49/tftpd/tftpd.c.chk_retcodes 2009-01-15 15:28:50.000000000 +0100
+++ tftp-hpa-0.49/tftpd/tftpd.c 2009-01-15 15:31:36.000000000 +0100
@@ -932,7 +932,10 @@ int main(int argc, char **argv)
exit(EX_OSERR);
}
#ifdef __CYGWIN__
- chdir("/"); /* Cygwin chroot() bug workaround */
+ if (chdir("/") < 0) { /* Cygwin chroot() bug workaround */
+ syslog(LOG_ERR, "chroot: %m");
+ exit(EX_OSERR);
+ }
#endif
}
#ifdef HAVE_SETREGID