bjelojac
2aee42a12c
Fix for #814 , Memory Leak
...
File isn't closed before being released, it leaks. This test has been verified and tested many times.
2013-04-25 13:46:43 -05:00
Zach Eveland
a6a59f1783
Revert "Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot"
...
This reverts commit df9835efaf
, reversing
changes made to ec45af8bfa
.
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27 11:45:13 -04:00
David A. Mellis
d59fcb8eed
Fixing warnings (David H. Lynch Jr).
2011-03-03 22:56:20 -05:00
David A. Mellis
575bb1dafb
Redoing peek() implementation (SD file class).
...
Now simply seeking backwards by a character in peek() rather than trying to keep track of the extra character read.
2010-12-22 16:47:50 -06:00
David A. Mellis
a7a8f3fa10
Trying to fix seek() / peek() interactions.
2010-12-22 16:37:48 -06:00
David A. Mellis
4742739d6e
Adding position() function to File class and replacing FILE_TRUNCATE and FILE_APPEND with FILE_WRITE (SD library). Updating examples and keywords.txt accordingly.
2010-12-22 15:52:09 -06:00
David A. Mellis
5057d5b109
Adding seek() and size() functions to SD File class.
2010-12-22 15:11:54 -06:00
David A. Mellis
fcc4188b15
SD File object implements Stream.
...
Added peak() and available() using a single byte buffer.
Added flush().
2010-11-20 11:45:05 -05:00
David A. Mellis
a5898ae26a
Revising SD library API.
...
Open now returns a file object (which has a close() method); exists() no longer accepts a parent directory.
2010-11-19 22:30:40 -05:00