wmail: POSIX doesn't have a "t" mode flag for fopen(3).
This commit is contained in:
		
							parent
							
								
									73897dff25
								
							
						
					
					
						commit
						97a82c5e14
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -975,7 +975,7 @@ static void ParseMBoxFile( struct stat *fileStat )
 | 
				
			||||||
    char buf[1024];
 | 
					    char buf[1024];
 | 
				
			||||||
    struct utimbuf timeStruct;
 | 
					    struct utimbuf timeStruct;
 | 
				
			||||||
    int fromFound = 0;
 | 
					    int fromFound = 0;
 | 
				
			||||||
    FILE *f = fopen( config.mailBox, "rt" );
 | 
					    FILE *f = fopen( config.mailBox, "r" );
 | 
				
			||||||
    unsigned long checksum;
 | 
					    unsigned long checksum;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    state = STATE_READMAIL;
 | 
					    state = STATE_READMAIL;
 | 
				
			||||||
| 
						 | 
					@ -1044,7 +1044,7 @@ static void ParseMaildirFile( const char *fileName, unsigned long checksum,
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    char buf[1024];
 | 
					    char buf[1024];
 | 
				
			||||||
    struct utimbuf timeStruct;
 | 
					    struct utimbuf timeStruct;
 | 
				
			||||||
    FILE *f = fopen( fileName, "rt" );
 | 
					    FILE *f = fopen( fileName, "r" );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if( f == NULL )
 | 
					    if( f == NULL )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue