ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/porting.C
(Generate patch)

Comparing deliantra/server/common/porting.C (file contents):
Revision 1.6 by root, Tue Sep 12 23:22:32 2006 UTC vs.
Revision 1.8 by pippijn, Sat Dec 9 17:28:37 2006 UTC

1
2/*
3 * static char *rcsid_porting_c =
4 * "$Id: porting.C,v 1.6 2006/09/12 23:22:32 root Exp $";
5 */
6
7/* 1/*
8 CrossFire, A Multiplayer game for X-windows 2 CrossFire, A Multiplayer game for X-windows
9 3
10 Copyright (C) 2002 Mark Wedel & Crossfire Development Team 4 Copyright (C) 2002 Mark Wedel & Crossfire Development Team
11 Copyright (C) 1992 Frank Tore Johansen 5 Copyright (C) 1992 Frank Tore Johansen
22 16
23 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
25 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 20
27 The authors can be reached via e-mail at crossfire-devel@real-time.com 21 The authors can be reached via e-mail at <crossfire@schmorp.de>
28*/ 22*/
29 23
30/* This file contains various functions that are not really unique for 24/* This file contains various functions that are not really unique for
31 * crossfire, but rather provides what should be standard functions 25 * crossfire, but rather provides what should be standard functions
32 * for systems that do not have them. In this way, most of the 26 * for systems that do not have them. In this way, most of the
388 * then it opens it and returns the file-pointer. 382 * then it opens it and returns the file-pointer.
389 */ 383 */
390FILE * 384FILE *
391open_and_uncompress (const char *name, int flag, int *compressed) 385open_and_uncompress (const char *name, int flag, int *compressed)
392{ 386{
393 size_t i;
394 FILE *fp;
395
396 *compressed = 0; 387 *compressed = 0;
397 return fopen (name, "r"); 388 return fopen (name, "r");
398} 389}
399 390
400/* 391/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines