freebsd / freebsd-wifi-build

freebsd-wifi-build
141 stars 59 forks source link

dlinkflash tool - archived original code & an answer to why such a hack #127

Closed danielfdickinson closed 6 years ago

danielfdickinson commented 6 years ago

https://github.com/freebsd/freebsd-wifi-build/blob/master/programs/dlinkflash/dlinkflash.c

It's archives here: https://github.com/cshore-history/dlinkdir825b1flash

If you wish I can make it read-write and update the license to MIT or BSD 2-clause; it was a horrible hack in a hurry by someone (me) who learned C programming just as K&R was transitioning to ANSI and got used to using only Standard C by default. Oh, and don't use realloc (it did nasty things under some compilers of the time).

I don't have any of these devices any more so I can't really test it.