search for: openedfile

Displaying 3 results from an estimated 3 matches for "openedfile".

Did you mean: open_file
2002 Feb 20
2
[PATCH] rsync on cygwin - textmode config files
...--exclude=Makefile --exclude=con* --exclude=*~ rsync-2.5.2/params.c rsync-2.5.2-patched/params.c --- rsync-2.5.2/params.c Tue Feb 9 20:35:29 1999 +++ rsync-2.5.2-patched/params.c Tue Feb 19 14:09:48 2002 @@ -488,8 +488,17 @@ static FILE *OpenConfFile( char *FileNam return( NULL ); } - OpenedFile = fopen( FileName, "r" ); - if( NULL == OpenedFile ) +#ifdef __CYGWIN__ + { + /* CYGWIN has no O_TEXT equivalent for + fopen... */ + int fd = open( FileName, O_RDONLY | O_TEXT); + OpenedFile = fdopen( fd, "r" ); + } +#else + OpenedFile = fopen( FileName, "...
2003 Jan 21
6
Please test rsync-2.5.6pre2
The second rsync-2.5.6 pre-release version is now available at: http://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre2.tar.gz ftp://rsync.samba.org/pub/rsync/preview/rsync-2.5.6pre2.tar.gz rsync://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre2.tar.gz There's also a corresponding '.sig' file that contains a gpg signature of the file; the public key is available on the
2003 Jan 26
1
[PATCH] open O_TEXT and O_BINARY for cygwin/windows
Ville Herva [mailto:vherva@niksula.hut.fi] wrote: > Of course, whether O_TEXT is defined or not does not > necessarily imply the availability of "t", but I > can't think of better alternative. Stratus VOS implements O_TEXT and O_BINARY but does not recognize "t". We have the options defined in ANS C and in POSIX. I'm at home and don't have my reference