IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2943


Ignore:
Timestamp:
Jan 10, 2005, 12:11:12 PM (22 years ago)
Author:
jhoblitt
Message:

open files as O_RDWR|O_TRUNC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/idataclient.c

    r2934 r2943  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: idataclient.c,v 1.2 2005-01-08 00:57:59 jhoblitt Exp $
     6 * $Id: idataclient.c,v 1.3 2005-01-10 22:11:12 jhoblitt Exp $
    77 */
    88
     
    6464        }
    6565
    66         file = open(filename, O_RDWR|O_CREAT|O_EXCL, 0660);
     66        file = open(filename, O_RDWR|O_TRUNC, 0660);
    6767        if (file == -1) {
    6868            fprintf(stderr, "can not open %s: %s\n", filename, strerror(errno));
Note: See TracChangeset for help on using the changeset viewer.