diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-24 10:39:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-26 14:08:45 +0000 |
commit | a0c1d630f4ce18c2bccf053f10f3c4b3e07436e2 (patch) | |
tree | 5154ed0875d16514f8f96b04db38af9501a06bc2 /main/busybox/busybox-1.16.0-tftp.patch | |
parent | eaa1f0c2f499d6b72839514bd473973da0cb7393 (diff) | |
download | aports-a0c1d630f4ce18c2bccf053f10f3c4b3e07436e2.tar.bz2 aports-a0c1d630f4ce18c2bccf053f10f3c4b3e07436e2.tar.xz |
main/busybox: apply patches from upstream
(cherry picked from commit 9f73184dbf63dc608a8a9790a94bb640bcb5a270)
Diffstat (limited to 'main/busybox/busybox-1.16.0-tftp.patch')
-rw-r--r-- | main/busybox/busybox-1.16.0-tftp.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/busybox/busybox-1.16.0-tftp.patch b/main/busybox/busybox-1.16.0-tftp.patch new file mode 100644 index 00000000..b6fb6c7b --- /dev/null +++ b/main/busybox/busybox-1.16.0-tftp.patch @@ -0,0 +1,12 @@ +diff -urpN busybox-1.16.0/networking/tftp.c busybox-1.16.0-tftp/networking/tftp.c +--- busybox-1.16.0/networking/tftp.c 2010-01-25 01:59:38.000000000 +0100 ++++ busybox-1.16.0-tftp/networking/tftp.c 2010-02-21 01:53:41.000000000 +0100 +@@ -308,7 +308,7 @@ static int tftp_protocol( + + if (!ENABLE_TFTP || our_lsa) { /* tftpd */ + /* Open file (must be after changing user) */ +- local_fd = open(local_file, open_mode); ++ local_fd = open(local_file, open_mode, 0666); + if (local_fd < 0) { + error_pkt_reason = ERR_NOFILE; + strcpy((char*)error_pkt_str, "can't open file"); |