OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   16-Feb-2005 21:31:18
  Branch: HEAD                             Handle: 2005021620311800

  Modified files:
    openpkg-src/findutils   findutils.patch

  Log:
    port no non-C99 compilers

  Summary:
    Revision    Changes     Path
    1.5         +15 -0      openpkg-src/findutils/findutils.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/findutils/findutils.patch
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 findutils.patch
  --- openpkg-src/findutils/findutils.patch     11 Feb 2005 19:21:42 -0000      
1.4
  +++ openpkg-src/findutils/findutils.patch     16 Feb 2005 20:31:18 -0000      
1.5
  @@ -54,3 +54,18 @@
         "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune 
\\) -o $print_option" ||
        exit $?
      else
  +Index: find/find.c
  +--- find/find.c.orig Wed Feb 16 10:51:08 2005
  ++++ find/find.c      Wed Feb 16 21:30:18 2005
  +@@ -1092,9 +1092,10 @@
  +                   enum ChdirSymlinkHandling symlink_handling)
  + {
  +   int extraflags = following_links() ? O_NOFOLLOW : 0;
  ++  int fd;
  + 
  +   errno = 0;
  +-  int fd = open(dest, O_RDONLY|extraflags);
  ++  fd = open(dest, O_RDONLY|extraflags);
  +   if (fd < 0)
  +     {
  +       switch (errno)
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to