Displaying 3 results from an estimated 3 matches for "sf_append".
Did you mean:
  uf_append
  
2008 Mar 02
3
congrats!
Thanks Wayne and everybody,
  This is a huge boost to have a modern rsync for OSX. We're all  
grateful. Rob D
PS I did notice that we lost the bsd flags test in 3.0. It was ok in  
pre10.... thanks again
bbouncer
Verifying:    basic-permissions ... ok
Verifying:           timestamps ...
    Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:   
2007 Mar 28
1
rsync patch -flags fails to compile on Mac OSX
...fine UF_OPAQUE	0x00000008	/* directory is opaque wrt. union */
/*
  * Super-user changeable flags.
  */
#define	SF_SETTABLE	0xffff0000	/* mask of superuser changeable flags */
#define	SF_ARCHIVED	0x00010000	/* file is archived */
#define	SF_IMMUTABLE	0x00020000	/* file may not be changed */
#define	SF_APPEND	0x00040000	/* writes to file may only append */
#endif
However, after defining the missing flags in rsync.h  I still get the  
following errors:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W  -c flist.c -o flist.o
flist.c: In function 'send_file_entry':
flist.c:381: error: 'struct file_...
2008 Feb 15
4
Revised flags patch
...@@ iconv_t ic_chck = (iconv_t)-1;
 iconv_t ic_send = (iconv_t)-1, ic_recv = (iconv_t)-1;
 # endif
 
+#ifdef SUPPORT_FLAGS
+#ifndef UF_NOUNLINK
+#define UF_NOUNLINK 0
+#endif
+#ifndef SF_NOUNLINK
+#define SF_NOUNLINK 0
+#endif
+#define NOCHANGE_FLAGS (UF_IMMUTABLE|UF_APPEND|UF_NOUNLINK|SF_IMMUTABLE|SF_APPEND|SF_NOUNLINK)
+#endif
+
 static const char *default_charset(void)
 {
 # if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET
@@ -338,6 +349,41 @@ mode_t dest_mode(mode_t flist_mode, mode
 	return new_mode;
 }
 
+#ifdef SUPPORT_FLAGS
+/* Set a file's st_flags. */
+static int set_fi...