termux-packages/disabled-packages/mariadb/extra-readline-complete.c.patch

13 lines
337 B
Diff
Raw Normal View History

--- ./extra/readline/complete.c 2017-01-18 01:08:19.000000000 +0530
+++ ../complete.c 2017-02-03 08:35:29.752470580 +0530
@@ -1854,8 +1854,8 @@
username = savestring (&text[first_char_loc]);
#if defined (HAVE_GETPWENT)
namelen = strlen (username);
-#endif
setpwent ();
+#endif
}
#if defined (HAVE_GETPWENT)