chiark / gitweb /
No .hushlogin instructions in motd for brevity
[termux-packages] / packages / pure-ftpd / pure-pwconvert.c.patch
1 --- ../../build/pure-ftpd/cache/pure-ftpd-1.0.45/src/pure-pwconvert.c   2017-01-09 20:51:01.000000000 +0100
2 +++ ./src/pure-pwconvert.c      2017-02-23 20:57:25.626342233 +0100
3 @@ -27,6 +27,7 @@
4  # endif
5  #endif
6  
7 +#ifndef __ANDROID__
8      setpwent();
9      while ((pwd = getpwent()) != NULL) {
10          if (pwd->pw_name == NULL) {
11 @@ -76,6 +77,7 @@
12                 pwd->pw_gecos, pwd->pw_dir);
13      }
14      endpwent();
15 +#endif
16  
17      return 0;
18  }