On 2017-11-26 19:50, Arjen de Korte wrote:
Citeren Roman Yeryomin <ro...@advem.lv>:

Changes from v2:
- const both to pointer and char itself, so nothing can be modified

The first const may be useful to prevent changes to the pointer, but
the second is nonsense. You won't be able to modify the string it
points to anyway.

    const char *passwd = "/bin/passwd";


You are utterly wrong, try `passwd = "whatever";` after that ^^^



_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to