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:53:25 Branch: rpm-5_3 Handle: 2011041005532500 Modified files: (Branch: rpm-5_3) rpm/lib rpmds.c Log: return 0, not RPMRC_FAIL on readlink() failure Summary: Revision Changes Path 2.167.2.7 +1 -1 rpm/lib/rpmds.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/lib/rpmds.c ============================================================================ $ cvs diff -u -r2.167.2.6 -r2.167.2.7 rpmds.c --- rpm/lib/rpmds.c 10 Apr 2011 05:25:06 -0000 2.167.2.6 +++ rpm/lib/rpmds.c 10 Apr 2011 05:53:25 -0000 2.167.2.7 @@ -3287,7 +3287,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