Changeset 415


Ignore:
Timestamp:
May 2, 2009, 1:54:29 AM (12 years ago)
Author:
khorben
Message:

Merge from upstream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/System/Sources/libc/src/stdio.c

    r366 r415  
    1 /* $Id: stdio.c,v 1.80 2009/02/24 14:20:57 khorben Exp $ */
     1/* $Id: stdio.c,v 1.81 2009/05/01 23:48:39 khorben Exp $ */
    22/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
    33/* This file is part of DeforaOS System libc */
     
    205205
    206206        if((flags = _fopen_mode(mode)) == -1
    207                         || (fd = open(path, file->flags, 0777)) < 0)
     207                        || (fd = open(path, flags, 0777)) < 0)
    208208                return NULL;
    209209        if((file = _fopen_new(fd, flags, isatty(fd) ? _IONBF : _IOFBF)) == NULL)
Note: See TracChangeset for help on using the changeset viewer.