+2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/chsh.c: No needto remove lines tarting with '#' from
+ /etc/shells. This is already done by getusershell() and these
+ shell would fail the access(X_OK) test.
+
2011-09-18 Nicolas François <nicolas.francois@centraliens.net>
* man/generate_mans.mak: Fix the generation of translated man
* Copyright (c) 1989 - 1994, Julianne Frances Haugh
* Copyright (c) 1996 - 2000, Marek Michałkiewicz
* Copyright (c) 2001 - 2006, Tomasz Kłoczko
- * Copyright (c) 2007 - 2008, Nicolas François
+ * Copyright (c) 2007 - 2011, Nicolas François
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#ifdef HAVE_GETUSERSHELL
setusershell ();
while ((cp = getusershell ())) {
- if (*cp == '#') {
- continue;
- }
-
if (strcmp (cp, sh) == 0) {
found = true;
break;