diff --git a/src/xpdev/dirwrap.c b/src/xpdev/dirwrap.c
index dbc0854dbd1fe5c39084c85a5bb8b8f4312174b4..b5a7b692d116c0e706d93d3cc2c78bb131e0b087 100644
--- a/src/xpdev/dirwrap.c
+++ b/src/xpdev/dirwrap.c
@@ -536,7 +536,7 @@ BOOL DLLCALL fexistcase(char *path)
 	int  i;
 	glob_t	glb;
 	
-	if(path[0]==0)
+	if(path[0]==0)		/* work around glibc bug 574274 */
 		return FALSE;
 
 	if(!strchr(path,'*') && !strchr(path,'?') && fnameexist(path))