send the signals for endgrent() and endpwent()
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 10 Apr 2005 12:27:25 +0000 (12:27 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 10 Apr 2005 12:27:25 +0000 (12:27 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2018 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/src/rpm-fake.c

index 8ffdbaf..2e38a84 100644 (file)
@@ -579,12 +579,14 @@ void
 endgrent()
 {
   if (pw_sock==-1) endgrent_func();
+  TEMP_FAILURE_RETRY(write(pw_sock, "Cg", 2));
 }
 
 void
 endpwent()
 {
   if (pw_sock==-1) endpwent_func();
+  TEMP_FAILURE_RETRY(write(pw_sock, "Cp", 2));
 }