RT-Thread-packages / vi

The screen-oriented text editor for RT-Thread.
GNU General Public License v2.0
16 stars 11 forks source link

维护注意事项 #24

Open mysterywolf opened 2 years ago

mysterywolf commented 2 years ago

原vi.c文件中的 strtoul strdup strndup malloc realloc free zalloc需要加vi_前缀. optind变量需要改为options.optind

跳过同步的commits: https://github.com/mirror/busybox/commit/f07772f19e29cf44a14c108935afb5668e38fac3 https://github.com/mirror/busybox/commit/f9217cd235c2a139ae22cf549c7614724f1fc6cf

mysterywolf commented 7 months ago

这个当时也没有cherry-pick过来 https://github.com/mirror/busybox/commit/d4f2e7ff71f253ee993e11cf7ce6a1244dec52e0

证实这个commit里不光有函数重新搬动的问题,也修改了部分函数的内容:https://github.com/RT-Thread-packages/vi/pull/28