rem: OpenedFile = fopen( FileName, "r" );
add: OpenedFile = fopen( FileName, "r" O_TEXT_STR );
context: static FILE *OpenConfFile( char *FileName )  /* ------------------------------------------------------------------------ **   * Open a configuration file.   *   *  Input:  FileName  - The pathname of the config file to be opened.   *   *  Output: A pointer of type (FILE *) to the opened file, or NULL if the   *          file could not be opened.   *   * ------------------------------------------------------------------------ **   */  {  FILE *OpenedFile;  char *func = "params.c:OpenConfFile() -";  if( NULL == FileName || 0 == *FileName )    {    rprintf(FERROR,"%s No configuration filename specified.\n", func);    return( NULL );    }  OpenedFile = fopen( FileName, "r" );  if( NULL == OpenedFile )    {    rprintf(FERROR,"rsync: unable to open configuration file \"%s\": %s\n",	    FileName, strerror(errno));    }  return( OpenedFile );  } /* OpenConfFile */