hi John,
> the patch is quite invasive. how about just using "r+"
>
> from the man page --> "r+ Open for reading and writing. The stream
> is positioned at the beginning of the file."
>
> could you try the following and not apply any other changes ?
>
> John
>
> - if ((kmsg = fopen("/dev/kmsg", "w")) != NULL) {
> + if ((kmsg = fopen("/dev/kmsg", "r+")) != NULL) {should we go on without check for character special flag then? -- regards, Sergey
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
