Move the pure stdlib functions into the new pure directory.
This commit is contained in:
		
							parent
							
								
									4dbdb7d8d5
								
							
						
					
					
						commit
						b9d2f353d9
					
				
					 19 changed files with 2 additions and 1 deletions
				
			
		|  | @ -34,6 +34,7 @@ for _, plat in ipairs(vars.plats) do | ||||||
| 			"+ctype_files", | 			"+ctype_files", | ||||||
| 			"+ctype_tab", | 			"+ctype_tab", | ||||||
| 			"./pure/string/*.c", | 			"./pure/string/*.c", | ||||||
|  | 			"./pure/stdlib/*.c", | ||||||
| 			"./ctype/*.c", | 			"./ctype/*.c", | ||||||
| 			"./errno/*.c", | 			"./errno/*.c", | ||||||
| 			"./locale/*.c", | 			"./locale/*.c", | ||||||
|  |  | ||||||
|  | @ -64,7 +64,7 @@ int setenv(register const char* name, register const char* value, int rewrite) | ||||||
| 		environ[cnt + 1] = NULL; | 		environ[cnt + 1] = NULL; | ||||||
| 		offset = cnt; | 		offset = cnt; | ||||||
| 	} | 	} | ||||||
| 	for (C = name; *C && *C != '='; ++C) | 	for (C = (char*) name; *C && *C != '='; ++C) | ||||||
| 		; /* no `=' in name */ | 		; /* no `=' in name */ | ||||||
| 	if (!(environ[offset] = /* name + `=' + value */ | 	if (!(environ[offset] = /* name + `=' + value */ | ||||||
| 	        malloc((unsigned)((int)(C - name) + l_value + 2)))) | 	        malloc((unsigned)((int)(C - name) + l_value + 2)))) | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue