freebsd-ports/sysutils/cfengine2/files/patch-filedir
Sergei Kolobov 44f6e99f4e - Update to 2.1.1
- Patch to fix missing paren in src/filedir.c
- Patch for case insensitive hostname matching removed
  (now the default as of this version)

While I'm here:
- Respect hier(7): install examples into ${EXAMPLESDIR},
  docs into ${DOCSDIR}

PR:		61602
Submitted by:	maintainer
2004-01-26 22:59:52 +00:00

11 lines
444 B
Text

--- src/filedir.c.orig Mon Jan 19 19:22:26 2004
+++ src/filedir.c Mon Jan 19 19:22:39 2004
@@ -554,7 +554,7 @@
return;
}
#else
-if (((newperm & 07777) == (dstat->st_mode & 07777) && (action != touch)) /* file okay */
+if (((newperm & 07777) == (dstat->st_mode & 07777) && (action != touch))) /* file okay */
{
Debug("File okay, newperm = %o, stat = %o\n",(newperm & 07777),(dstat->st_mode & 07777));
fixmode = false;