--- extras/Xpm/lib/RdFToI.c.orig 2004-12-03 12:28:13.907984883 +0100 +++ extras/Xpm/lib/RdFToI.c 2004-12-03 12:28:43.640961470 +0100 @@ -151,8 +151,7 @@ #ifndef NO_ZPIPE size_t len = strlen(filename); - if(len == 0 || - filename[len-1] == '/') + if(len == 0) return(XpmOpenFailed); if ((len > 2) && !strcmp(".Z", filename + (len - 2))) { mdata->type = XPMPIPE;