mirror of
				https://github.com/golang/go.git
				synced 2025-10-27 23:04:16 +00:00 
			
		
		
		
	fix typo breaking linux build
R=rsc OCL=27304 CL=27304
This commit is contained in:
		
							parent
							
								
									f9854978e2
								
							
						
					
					
						commit
						870c91aec2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -59,7 +59,7 @@ func readdirnames(file *File, count int) (names []string, err *os.Error) { | |||
| 			if dirent.Ino == 0 {	// File absent in directory. | ||||
| 				continue | ||||
| 			} | ||||
| 			var name = string(dirent.Name[0:clen(dirent.Namlen)]); | ||||
| 			var name = string(dirent.Name[0:clen(dirent.Name)]); | ||||
| 			if name == "." || name == ".." {	// Useless names | ||||
| 				continue | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rob Pike
						Rob Pike