]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/opendir.c
There's no 'closeallstreams' (anymore ?).
[cc65] / libsrc / cbm / opendir.c
index cee28791f8206405e42d32c53b5512d239c80604..b39e6b77ec76a502ceae0508e17791b94157937c 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Ullrich von Bassewitz, 2012-05-30. Based on code by Groepaz.
- */
+** Ullrich von Bassewitz, 2012-05-30. Based on code by Groepaz.
+*/
 
 #include <stdlib.h>
 #include <string.h>
@@ -18,8 +18,8 @@ DIR* __fastcall__ opendir (register const char* name)
     DIR d;
 
     /* Setup the actual file name that is sent to the disk. We accept "0:",
-     * "1:" and "." as directory names.
-     */
+    ** "1:" and "." as directory names.
+    */
     d.name[0] = '$';
     if (name == 0 || name[0] == '\0' || (name[0] == '.' && name[1] == '\0')) {
         d.name[1] = '\0';
@@ -38,7 +38,7 @@ DIR* __fastcall__ opendir (register const char* name)
     d.fd = open (d.name, O_RDONLY);
     if (d.fd >= 0) {
 
-        /* Skip the disk header */
+        /* Skip the load address */         
         if (_dirread (&d, buf, sizeof (buf))) {
 
             /* Allocate memory for the DIR structure returned */