Got rid of O_TEXT_STR change.
authorWayne Davison <wayned@samba.org>
Sun, 26 Jan 2003 20:07:55 +0000 (20:07 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 26 Jan 2003 20:07:55 +0000 (20:07 +0000)
clientserver.c
params.c

index 709057f..d158a2f 100644 (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) {
index b224ec9..8163811 100644 (file)
--- a/params.c
+++ b/params.c
@@ -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",