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.1 by root, Fri Feb 3 07:11:39 2006 UTC vs.
Revision 1.2 by root, Thu May 11 18:37:52 2006 UTC

1/* 1/*
2 * static char *rcsid_porting_c = 2 * static char *rcsid_porting_c =
3 * "$Id: porting.c,v 1.1 2006/02/03 07:11:39 root Exp $"; 3 * "$Id: porting.c,v 1.2 2006/05/11 18:37:52 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
612 struct stat statbuf; 612 struct stat statbuf;
613 613
614 if (!filename || !*filename) 614 if (!filename || !*filename)
615 return; 615 return;
616 strcpy (buf, filename); 616 strcpy (buf, filename);
617 LOG(llevDebug, "make_path_tofile %s...", filename); 617
618 while ((cp = strchr (cp + 1, (int) '/'))) { 618 while ((cp = strchr (cp + 1, (int) '/'))) {
619 *cp = '\0'; 619 *cp = '\0';
620#if 0 620#if 0
621 LOG(llevDebug, "\n Checking %s...", buf); 621 LOG(llevDebug, "\n Checking %s...", buf);
622#endif 622#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines