[package] base-files: Use -h instead of deprecated -L for symlink check
[openwrt.git] / package / ppp / patches / 403-no_wtmp.patch
1 --- a/pppd/sys-linux.c
2 +++ b/pppd/sys-linux.c
3 @@ -2237,6 +2237,7 @@ int ppp_available(void)
4
5 void logwtmp (const char *line, const char *name, const char *host)
6 {
7 +#if 0
8 struct utmp ut, *utp;
9 pid_t mypid = getpid();
10 #if __GLIBC__ < 2
11 @@ -2302,6 +2303,7 @@ void logwtmp (const char *line, const ch
12 close (wtmp);
13 }
14 #endif
15 +#endif
16 }
17
18
This page took 0.0399 seconds and 5 git commands to generate.