diff options
author | Peng Wu <alexepico@gmail.com> | 2014-03-13 09:40:48 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-03-13 09:40:48 +0800 |
commit | 6a3fd302f0ca63ce02cda81950987fa0cdbea610 (patch) | |
tree | 4b7c9937188efc0dc1e923dc61ae7611e073162c /src/storage/table_info.cpp | |
parent | 740f54eed08e34348b377a33719368a05328e8fa (diff) | |
download | libpinyin-6a3fd302f0ca63ce02cda81950987fa0cdbea610.tar.gz libpinyin-6a3fd302f0ca63ce02cda81950987fa0cdbea610.tar.xz libpinyin-6a3fd302f0ca63ce02cda81950987fa0cdbea610.zip |
fixes fscanf
Diffstat (limited to 'src/storage/table_info.cpp')
-rw-r--r-- | src/storage/table_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/table_info.cpp b/src/storage/table_info.cpp index 63af8e0..6d1159a 100644 --- a/src/storage/table_info.cpp +++ b/src/storage/table_info.cpp @@ -162,7 +162,7 @@ bool SystemTableInfo::load(const char * filename) { int index = 0; char tablefile[256], sysfile[256], userfile[256], filetype[256]; while (!feof(input)) { - num = fscanf(input, "%d %s %s %s %s\n", + num = fscanf(input, "%d %256s %256s %256s %256s\n", &index, tablefile, sysfile, userfile, filetype); if (5 != num) |