Changeset 526 in xtideuniversalbios for trunk/Serial_Server/library/File.h


Ignore:
Timestamp:
Mar 15, 2013, 1:38:58 AM (11 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Update of the copyright notices to include the year 2013.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Serial_Server/library/File.h

    r376 r526  
    66//
    77// Routines for accessing the file system using generic routines, which
    8 // should work on all systems.  The issue with using these is that 
     8// should work on all systems.  The issue with using these is that
    99// ftell() and fseek() are limited to 2 GB files (signed 32-bit quantities)
    10 // and there is no standard for 64-bit quantities.  So, look for a 
    11 // OS specific version of this file in the distribution, such as 
     10// and there is no standard for 64-bit quantities.  So, look for a
     11// OS specific version of this file in the distribution, such as
    1212// win32/win32file.h which may be in use instead.
    13 // 
     13//
    1414
    1515//
    16 // XTIDE Universal BIOS and Associated Tools 
    17 // Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
     16// XTIDE Universal BIOS and Associated Tools
     17// Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
    1818//
    1919// This program is free software; you can redistribute it and/or modify
     
    2121// the Free Software Foundation; either version 2 of the License, or
    2222// (at your option) any later version.
    23 // 
     23//
    2424// This program is distributed in the hope that it will be useful,
    2525// but WITHOUT ANY WARRANTY; without even the implied warranty of
    2626// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    27 // GNU General Public License for more details.     
     27// GNU General Public License for more details.
    2828// Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2929//
     
    4444            return( 0 );
    4545        }
    46        
     46
    4747        if( !(fp = fopen( p_name, "w" )) )
    4848            log( -1, "Could not create file '%s'", p_name );
    4949
    5050        name = p_name;
    51        
     51
    5252        return( 1 );
    5353    }
     
    108108    }
    109109
    110     const static unsigned long MaxSectors = 4194303;  // limited by signed 32-bit file sizes 
     110    const static unsigned long MaxSectors = 4194303;  // limited by signed 32-bit file sizes
    111111#define USAGE_MAXSECTORS "2048 MB (signed 32-bit file size limit)"
    112112
Note: See TracChangeset for help on using the changeset viewer.