[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2006-g7cdad30

Björn Jacke bjacke at samba.org
Wed Jun 3 16:04:08 GMT 2009


The branch, master has been updated
       via  7cdad30b9640cc876e8ca59cd67455039107a5df (commit)
      from  bfd1f5ddc6022960af669f9d9628fee6a2572b00 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7cdad30b9640cc876e8ca59cd67455039107a5df
Author: Björn Jacke <bj at sernet.de>
Date:   Wed Jun 3 18:03:36 2009 +0200

    s3: correct check for usleep value boundaries

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/system.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/system.c b/source3/lib/system.c
index d9d3266..9bd231a 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -94,7 +94,7 @@ int sys_usleep(long usecs)
 	 * is not SPEC1170 complient... grumble... JRA.
 	 */
 
-	if(usecs < 0 || usecs > 1000000) {
+	if(usecs < 0 || usecs > 999999) {
 		errno = EINVAL;
 		return -1;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list