unix.ffi: Arch Linux doesn't seem to have aliases.
							parent
							
								
									e3323818cc
								
							
						
					
					
						commit
						540e490031
					
				| 
						 | 
				
			
			@ -4,9 +4,10 @@ IN: unix.ffi.tests
 | 
			
		|||
 | 
			
		||||
[ 80 ] [ "http" f getservbyname port>> ntohs ] unit-test
 | 
			
		||||
 | 
			
		||||
! Aliases seem unreliable. Leave this as an example but don't rely
 | 
			
		||||
! on aliases working.
 | 
			
		||||
[ t ] [
 | 
			
		||||
    0 "http" f getservbyname aliases>> utf8 alien>strings
 | 
			
		||||
    "www" swap member?
 | 
			
		||||
    "http" f getservbyname aliases>> utf8 alien>strings drop
 | 
			
		||||
] unit-test
 | 
			
		||||
 | 
			
		||||
[ "http" ] [ 80 htons f getservbyport name>> ] unit-test
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue