Skip to content

Commit

Permalink
Fixed some comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 11, 2007
1 parent 53bbe35 commit e029cb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions platform/macclassic.c
@@ -1,5 +1,5 @@
/*
* MacOS Classic support routines for PhysicsFS.
* Mac OS classic support routines for PhysicsFS.
*
* Please see the file LICENSE.txt in the source's root directory.
*
Expand All @@ -13,14 +13,14 @@

/*
* Most of the API calls in here are, according to ADC, available since
* MacOS 8.1. I don't think I used any MacOS 9 or CarbonLib-specific
* Mac OS 8.1. I don't think I used any Mac OS 9 or CarbonLib-specific
* functions. There might be one or two 8.5 calls, and perhaps when the
* ADC docs say "Available in MacOS 8.1" they really mean "this works
* ADC docs say "Available in Mac OS 8.1" they really mean "this works
* with System 6, but we don't want to hear about it at this point."
*
* IsAliasFile() showed up in MacOS 8.5. You can duplicate this code with
* IsAliasFile() showed up in Mac OS 8.5. You can duplicate this code with
* PBGetCatInfoSync(), which is an older API, if you hope the bits in the
* catalog info never change (which they won't for, say, MacOS 8.1).
* catalog info never change (which they won't for, say, Mac OS 8.1).
* See Apple Technote FL-30:
* http://developer.apple.com/technotes/fl/fl_30.html
*
Expand All @@ -33,7 +33,7 @@

/*
* Please note that I haven't tried this code with CarbonLib or under
* MacOS X at all. The code in unix.c is known to work with Darwin,
* Mac OS X at all. The code in unix.c is known to work with Darwin,
* and you may or may not be better off using that, especially since
* mutexes are no-ops in this file. Patches welcome.
*/
Expand Down Expand Up @@ -636,7 +636,7 @@ void __PHYSFS_platformEnumerateFiles(const char *dirname,
char *__PHYSFS_platformCurrentDir(void)
{
/*
* I don't think MacOS has a concept of "current directory", beyond
* I don't think Mac OS has a concept of "current directory", beyond
* what is grafted on by a given standard C library implementation,
* so just return the base dir.
* We don't use this for anything crucial at the moment anyhow.
Expand Down Expand Up @@ -876,25 +876,25 @@ int __PHYSFS_platformDelete(const char *path)

void *__PHYSFS_platformCreateMutex(void)
{
return((void *) 0x0001); /* no mutexes on MacOS Classic. */
return((void *) 0x0001); /* no mutexes on Mac OS classic. */
} /* __PHYSFS_platformCreateMutex */


void __PHYSFS_platformDestroyMutex(void *mutex)
{
/* no mutexes on MacOS Classic. */
/* no mutexes on Mac OS classic. */
} /* __PHYSFS_platformDestroyMutex */


int __PHYSFS_platformGrabMutex(void *mutex)
{
return(1); /* no mutexes on MacOS Classic. */
return(1); /* no mutexes on Mac OS classic. */
} /* __PHYSFS_platformGrabMutex */


void __PHYSFS_platformReleaseMutex(void *mutex)
{
/* no mutexes on MacOS Classic. */
/* no mutexes on Mac OS classic. */
} /* __PHYSFS_platformReleaseMutex */


Expand All @@ -917,7 +917,7 @@ PHYSFS_sint64 __PHYSFS_platformGetLastModTime(const char *fname)
modDate = ((infoPB.dirInfo.ioFlAttrib & kioFlAttribDirMask) != 0) ?
infoPB.dirInfo.ioDrMdDat : infoPB.hFileInfo.ioFlMdDat;

/* epoch is different on MacOS. They use Jan 1, 1904, apparently. */
/* epoch is different on Mac OS. They use Jan 1, 1904, apparently. */
/* subtract seconds between those epochs, counting leap years. */
modDate -= 2082844800;

Expand Down
2 changes: 1 addition & 1 deletion platform/pocketpc.c
@@ -1,5 +1,5 @@
/*
* Skeleton platform-dependent support routines for PhysicsFS.
* PocketPC support routines for PhysicsFS.
*
* Please see the file LICENSE.txt in the source's root directory.
*
Expand Down
2 changes: 1 addition & 1 deletion platform/windows.c
@@ -1,5 +1,5 @@
/*
* Win32 support routines for PhysicsFS.
* Windows support routines for PhysicsFS.
*
* Please see the file LICENSE.txt in the source's root directory.
*
Expand Down

0 comments on commit e029cb5

Please sign in to comment.