plan 9 kernel history: overview | file list | diff list

1993/1210/port/dev.c (diff list | history)

1993/1013/sys/src/9/port/dev.c:47,541993/1210/sys/src/9/port/dev.c:47,54 (short | long | prev | next)
Change strncpy back to memmove.
rsc Fri Mar 4 12:44:25 2005
1991/1220    
	db->mtime = kerndate; 
1990/0227    
	db->hlength = 0; 
	db->length = length; 
1991/1112    
	strncpy(db->uid, user, NAMELEN); 
	strncpy(db->gid, eve, NAMELEN); 
1993/1210    
	memmove(db->uid, user, NAMELEN); 
	memmove(db->gid, eve, NAMELEN); 
1990/0227    
} 
 
int 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)