Got rid of O_TEXT_STR change.

This commit is contained in:
Wayne Davison
2003-01-26 20:07:55 +00:00
parent 73ff720972
commit 0090cbdba6
2 changed files with 2 additions and 2 deletions

View File

@@ -514,7 +514,7 @@ int start_daemon(int f_in, int f_out)
motd = lp_motd_file();
if (motd && *motd) {
FILE *f = fopen(motd,"r" O_TEXT_STR);
FILE *f = fopen(motd,"r");
while (f && !feof(f)) {
int len = fread(line, 1, sizeof(line)-1, f);
if (len > 0) {

View File

@@ -488,7 +488,7 @@ static FILE *OpenConfFile( char *FileName )
return( NULL );
}
OpenedFile = fopen( FileName, "r" O_TEXT_STR );
OpenedFile = fopen( FileName, "r" );
if( NULL == OpenedFile )
{
rprintf(FERROR,"rsync: unable to open configuration file \"%s\": %s\n",