diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-24 09:13:43 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-24 09:13:43 +0100 |
commit | a080cc0ff48ad2f4ead2aa7a9932323379f6a37d (patch) | |
tree | b3513287e1c54b68c614405d5f4148e6b3046415 /package/busybox/busybox-1.16.0-tftp.patch | |
parent | f4f157041eb53f674d21d9a323f7245bc14fd844 (diff) | |
download | buildroot-novena-a080cc0ff48ad2f4ead2aa7a9932323379f6a37d.tar.gz buildroot-novena-a080cc0ff48ad2f4ead2aa7a9932323379f6a37d.zip |
busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.16.0-tftp.patch')
-rw-r--r-- | package/busybox/busybox-1.16.0-tftp.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-tftp.patch b/package/busybox/busybox-1.16.0-tftp.patch new file mode 100644 index 000000000..b6fb6c7b3 --- /dev/null +++ b/package/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"); |