RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Per Øyvind Karlsen Root: /v/rpm/cvs Email: pkarl...@rpm5.org Module: rpm Date: 10-Apr-2011 07:52:37 Branch: rpm-5_4 Handle: 2011041005523700 Modified files: (Branch: rpm-5_4) rpm/lib rpmds.c Log: return 0, not RPMRC_FAIL on readlink() failure Summary: Revision Changes Path 2.170.2.4 +1 -1 rpm/lib/rpmds.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/lib/rpmds.c ============================================================================ $ cvs diff -u -r2.170.2.3 -r2.170.2.4 rpmds.c --- rpm/lib/rpmds.c 10 Apr 2011 05:23:52 -0000 2.170.2.3 +++ rpm/lib/rpmds.c 10 Apr 2011 05:52:37 -0000 2.170.2.4 @@ -3286,7 +3286,7 @@ if ((lnklen = readlink(fn, path, MAXPATHLEN - 1)) == -1) { warn("%s", fn); - return RPMRC_FAIL; + return 0; } path[lnklen] = '\0'; @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org