Basic doc changes to keep up to date.
[samba.git] / source3 / lib / system.c
index 938746e9c9d7ff3696e409f44f067ad07567f953..7dc585223a13bff01e148a33ea6daecf2b41c51c 100644 (file)
@@ -25,13 +25,17 @@ extern int DEBUGLEVEL;
 
 /*
    The idea is that this file will eventually have wrappers around all
 
 /*
    The idea is that this file will eventually have wrappers around all
-   important system calls in samba. The aim is twofold:
+   important system calls in samba. The aims are:
 
    - to enable easier porting by putting OS dependent stuff in here
 
    - to allow for hooks into other "pseudo-filesystems"
 
    - to allow easier integration of things like the japanese extensions
 
    - to enable easier porting by putting OS dependent stuff in here
 
    - to allow for hooks into other "pseudo-filesystems"
 
    - to allow easier integration of things like the japanese extensions
+
+   - to support the philosophy of Samba to expose the features of
+     the OS within the SMB model. In general whatever file/printer/variable
+     expansions/etc make sense to the OS should be acceptable to Samba.
 */
 
 
 */
 
 
@@ -79,7 +83,7 @@ int sys_select(fd_set *fds,struct timeval *tval)
        return(found);
       }
       
        return(found);
       }
       
-      if (tval && tval.tv_sec < counter) return(0);
+      if (tval && tval->tv_sec < counter) return(0);
       sleep(1);
       counter++;
     }
       sleep(1);
       counter++;
     }