diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-07-17 09:28:00 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-07-17 09:28:00 +0000 |
commit | c6dc752f7bf0d26bc857d1d1609791752af75a80 (patch) | |
tree | c63c9cc54a0c8db1b14b1f9f3686f2a37166897c /spi25_statusreg.c | |
parent | 71a8cd77f4cc27d5621803ad885e02445c769912 (diff) | |
download | flashrom-c6dc752f7bf0d26bc857d1d1609791752af75a80.zip flashrom-c6dc752f7bf0d26bc857d1d1609791752af75a80.tar.gz |
print.c: Fix multiline support
- Use the reentrant tokenizer version strtok_r to break up vendor and model
names in print.c.
- Add implementation of strtok_r for mingw (strtok_r is POSIX only).
- Free allocated temporary memory again.
Corresponding to flashrom svn r1700.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'spi25_statusreg.c')
0 files changed, 0 insertions, 0 deletions