about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-22 06:27:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-22 06:27:54 +0000
commitda9f699f3149c91ef1382aeeef125f6866324f56 (patch)
tree7a5e80f4546c9c7e70e9b4a43e479c6feec4b00e
parentdd28590fd4efa3508ca7c079abb69060836dd374 (diff)
downloadglibc-da9f699f3149c91ef1382aeeef125f6866324f56.tar.gz
glibc-da9f699f3149c91ef1382aeeef125f6866324f56.tar.xz
glibc-da9f699f3149c91ef1382aeeef125f6866324f56.zip
Update.
2004-10-21  Ulrich Drepper  <drepper@redhat.com>

	* posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno
	values.
-rw-r--r--ChangeLog5
-rw-r--r--posix/execvp.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e12b6c6f4a..2d28357b07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-21  Ulrich Drepper  <drepper@redhat.com>
+
+	* posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno
+	values.
+
 2004-10-20  Roland McGrath  <roland@redhat.com>
 
 	* Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
diff --git a/posix/execvp.c b/posix/execvp.c
index 6e919526d7..d6f60c02e7 100644
--- a/posix/execvp.c
+++ b/posix/execvp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,95,96,97,98,99,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,1995-99,2002,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -135,6 +135,11 @@ execvp (file, argv)
 	      /* Those errors indicate the file is missing or not executable
 		 by us, in which case we want to just try the next path
 		 directory.  */
+	    case ENODEV:
+	    case ETIMEDOUT:
+	      /* Some strange filesystems like AFS return even
+		 stranger error numbers.  They cannot reasonably mean
+		 anything else so ignore those, too.  */
 	      break;
 
 	    default: