]> git.pld-linux.org Git - packages/util-linux.git/blob - util-linux-login-lastlog.patch
dir attribute for dirs
[packages/util-linux.git] / util-linux-login-lastlog.patch
1 --- util-linux-2.21/login-utils/login.c~        2012-02-10 16:16:07.000000000 +0200
2 +++ util-linux-2.21/login-utils/login.c 2012-03-05 17:33:34.932052369 +0200
3 @@ -503,7 +503,7 @@
4         if (!cxt->pwd)
5                 return;
6  
7 -       fd = open(_PATH_LASTLOG, O_RDWR, 0);
8 +       fd = open(_PATH_LASTLOG, O_RDWR|O_CREAT, 0);
9         if (fd < 0)
10                 return;
11  
This page took 0.064947 seconds and 3 git commands to generate.