Bläddra i källkod

Fixed some comments.

Ryan C. Gordon 19 år sedan
förälder
incheckning
e029cb54e5
3 ändrade filer med 14 tillägg och 14 borttagningar
  1. 12 12
      platform/macclassic.c
  2. 1 1
      platform/pocketpc.c
  3. 1 1
      platform/windows.c

+ 12 - 12
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.
  * Please see the file LICENSE.txt in the source's root directory.
  *
  *
@@ -13,14 +13,14 @@
 
 
 /*
 /*
  * Most of the API calls in here are, according to ADC, available since
  * 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
  *  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."
  *  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
  *  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:
  *  See Apple Technote FL-30:
  *    http://developer.apple.com/technotes/fl/fl_30.html
  *    http://developer.apple.com/technotes/fl/fl_30.html
  *
  *
@@ -33,7 +33,7 @@
 
 
 /*
 /*
  * Please note that I haven't tried this code with CarbonLib or under
  * 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
  *  and you may or may not be better off using that, especially since
  *  mutexes are no-ops in this file. Patches welcome.
  *  mutexes are no-ops in this file. Patches welcome.
  */
  */
@@ -636,7 +636,7 @@ void __PHYSFS_platformEnumerateFiles(const char *dirname,
 char *__PHYSFS_platformCurrentDir(void)
 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,
      *  what is grafted on by a given standard C library implementation,
      *  so just return the base dir.
      *  so just return the base dir.
      * We don't use this for anything crucial at the moment anyhow.
      * We don't use this for anything crucial at the moment anyhow.
@@ -876,25 +876,25 @@ int __PHYSFS_platformDelete(const char *path)
 
 
 void *__PHYSFS_platformCreateMutex(void)
 void *__PHYSFS_platformCreateMutex(void)
 {
 {
-    return((void *) 0x0001);  /* no mutexes on MacOS Classic. */
+    return((void *) 0x0001);  /* no mutexes on Mac OS classic. */
 } /* __PHYSFS_platformCreateMutex */
 } /* __PHYSFS_platformCreateMutex */
 
 
 
 
 void __PHYSFS_platformDestroyMutex(void *mutex)
 void __PHYSFS_platformDestroyMutex(void *mutex)
 {
 {
-    /* no mutexes on MacOS Classic. */
+    /* no mutexes on Mac OS classic. */
 } /* __PHYSFS_platformDestroyMutex */
 } /* __PHYSFS_platformDestroyMutex */
 
 
 
 
 int __PHYSFS_platformGrabMutex(void *mutex)
 int __PHYSFS_platformGrabMutex(void *mutex)
 {
 {
-    return(1);  /* no mutexes on MacOS Classic. */
+    return(1);  /* no mutexes on Mac OS classic. */
 } /* __PHYSFS_platformGrabMutex */
 } /* __PHYSFS_platformGrabMutex */
 
 
 
 
 void __PHYSFS_platformReleaseMutex(void *mutex)
 void __PHYSFS_platformReleaseMutex(void *mutex)
 {
 {
-    /* no mutexes on MacOS Classic. */
+    /* no mutexes on Mac OS classic. */
 } /* __PHYSFS_platformReleaseMutex */
 } /* __PHYSFS_platformReleaseMutex */
 
 
 
 
@@ -917,7 +917,7 @@ PHYSFS_sint64 __PHYSFS_platformGetLastModTime(const char *fname)
     modDate = ((infoPB.dirInfo.ioFlAttrib & kioFlAttribDirMask) != 0) ?
     modDate = ((infoPB.dirInfo.ioFlAttrib & kioFlAttribDirMask) != 0) ?
                    infoPB.dirInfo.ioDrMdDat : infoPB.hFileInfo.ioFlMdDat;
                    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.   */
     /*  subtract seconds between those epochs, counting leap years.   */
     modDate -= 2082844800;
     modDate -= 2082844800;
 
 

+ 1 - 1
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.
  * Please see the file LICENSE.txt in the source's root directory.
  *
  *

+ 1 - 1
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.
  * Please see the file LICENSE.txt in the source's root directory.
  *
  *