David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								122bfde8bb 
								
							 
						 
						
							
							
								
								Remove one more terrible ed script and replace it with a working Lua script.  
							
							
							
						 
						
							2022-07-18 00:22:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								78674d935f 
								
							 
						 
						
							
							
								
								Warning fixes.  
							
							
							
						 
						
							2022-07-17 23:52:05 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								739b9af662 
								
							 
						 
						
							
							
								
								Make ego put its temporary files in the right place.  
							
							
							
						 
						
							2022-07-17 21:09:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								28d4480f62 
								
							 
						 
						
							
							
								
								It turns out that you can't use freopen() to set binary mode of  
							
							... 
							
							
							
							stdin/stdout on Windows; so add a new system function called
sys_setbinarymode which does it instead. Then find lots more binary mode
flags which need setting. 
							
						 
						
							2022-07-17 20:47:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								acd2fe1351 
								
							 
						 
						
							
							
								
								More binary flags; and, remember to truncate existing files when trying  
							
							... 
							
							
							
							to create new ones. 
							
						 
						
							2022-07-17 20:11:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								2558d00d17 
								
							 
						 
						
							
							
								
								Replace the terrible code generation shell script with a Lua script.  
							
							
							
						 
						
							2022-07-17 18:15:09 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								90c6f0274a 
								
							 
						 
						
							
							
								
								Stupid git didn't commit the files I told it to.  
							
							
							
						 
						
							2022-07-17 14:53:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1ee6efabb0 
								
							 
						 
						
							
							
								
								Use Bison instead of Yacc --- we don't have Posix yacc grammars.  
							
							
							
						 
						
							2022-07-17 14:51:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f8bf333bd4 
								
							 
						 
						
							
							
								
								Replace the dodgy code generation shell scripts with Lua scripts.  
							
							
							
						 
						
							2022-07-17 14:31:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								544e8d474b 
								
							 
						 
						
							
							
								
								Only Windows has O_BINARY.  
							
							
							
						 
						
							2022-07-17 13:36:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1fa8f40beb 
								
							 
						 
						
							
							
								
								Only Windows has O_BINARY.  
							
							
							
						 
						
							2022-07-17 13:17:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f9785629e0 
								
							 
						 
						
							
							
								
								Add a binary flag.  
							
							
							
						 
						
							2022-07-17 13:01:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c44f94818f 
								
							 
						 
						
							
							
								
								Don't try to run or build the tests on Windows because too hard.  
							
							
							
						 
						
							2022-07-17 13:00:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								8e4a6ca47d 
								
							 
						 
						
							
							
								
								Fix a nasty temporary file race condition.  
							
							
							
						 
						
							2022-07-17 13:00:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5c2f190c29 
								
							 
						 
						
							
							
								
								Lots of binary mode flags.  
							
							
							
						 
						
							2022-07-17 12:58:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								cb37502a23 
								
							 
						 
						
							
							
								
								Make work, mostly, on Windows --- temporary files are now created in the  
							
							... 
							
							
							
							right place, creat() isn't used because it doesn't work, partial file
read/writes work, etc. 
							
						 
						
							2022-07-17 01:58:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1654700314 
								
							 
						 
						
							
							
								
								Warning fix.  
							
							
							
						 
						
							2022-07-17 01:39:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bd5ead8122 
								
							 
						 
						
							
							
								
								Forgot to add this to the build file...  
							
							
							
						 
						
							2022-07-17 00:55:06 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								92b3dfb42c 
								
							 
						 
						
							
							
								
								Apparently Windows doesn't have strndup or index.  
							
							
							
						 
						
							2022-07-17 00:47:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b40f4e33fb 
								
							 
						 
						
							
							
								
								Fix warnings.  
							
							
							
						 
						
							2022-07-17 00:44:23 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								44fc125b1a 
								
							 
						 
						
							
							
								
								Remove signals.  
							
							
							
						 
						
							2022-07-16 23:52:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d0860c12c0 
								
							 
						 
						
							
							
								
								Don't build int on windows; it looks like a dead loss due to reliance on  
							
							... 
							
							
							
							Unix functionality. 
							
						 
						
							2022-07-16 23:52:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								2abcd7d3bd 
								
							 
						 
						
							
							
								
								Fix CRLF issues on Windows.  
							
							
							
						 
						
							2022-07-16 23:47:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								748dd1ac00 
								
							 
						 
						
							
							
								
								More removals of NAME_MAX.  
							
							
							
						 
						
							2022-07-16 23:27:57 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								438fdd91a6 
								
							 
						 
						
							
							
								
								Windows doesn't have NAME_MAX or any interesting signals.  
							
							
							
						 
						
							2022-07-16 23:21:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bb0236cbf7 
								
							 
						 
						
							
							
								
								ego uses fork/exec too, so factor out the new system() code from ack and use it  
							
							... 
							
							
							
							there. 
							
						 
						
							2022-07-16 23:14:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								cf3f5bf64e 
								
							 
						 
						
							
							
								
								More signal removals.  
							
							
							
						 
						
							2022-07-16 22:51:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								fd691cfaf6 
								
							 
						 
						
							
							
								
								Windows doesn't do signals much.  
							
							
							
						 
						
							2022-07-16 22:45:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								31fe10bf5d 
								
							 
						 
						
							
							
								
								Reformat.  
							
							
							
						 
						
							2022-07-16 22:43:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								8f62160567 
								
							 
						 
						
							
							
								
								Nope, still need mingw32.  
							
							
							
						 
						
							2022-07-16 22:37:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e43905afeb 
								
							 
						 
						
							
							
								
								Reformat.  
							
							
							
						 
						
							2022-07-16 22:33:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d48e7399ee 
								
							 
						 
						
							
							
								
								Use system() rather than fork()/wait() to run commands, to keep Windows happy.  
							
							
							
						 
						
							2022-07-16 22:33:29 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f6d83620c0 
								
							 
						 
						
							
							
								
								Point MSYS at the right lua.  
							
							
							
						 
						
							2022-07-16 19:52:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								23a40fa960 
								
							 
						 
						
							
							
								
								Typo fix.  
							
							
							
						 
						
							2022-07-16 19:48:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5e186a403b 
								
							 
						 
						
							
							
								
								I think this actually _does_ have to build with MSYS2.  
							
							
							
						 
						
							2022-07-16 19:45:43 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f30bf70832 
								
							 
						 
						
							
							
								
								Symbols called 'eof' conflict with Windows io.h.  
							
							
							
						 
						
							2022-07-16 19:40:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								496424acf6 
								
							 
						 
						
							
							
								
								Merge from default.  
							
							
							
						 
						
							2022-07-16 19:35:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								04f723b406 
								
							 
						 
						
							
							
								
								Eliminate make.allocd --- something about it makes Windows unhappy and it  
							
							... 
							
							
							
							doesn't add value anyway. 
							
						 
						
							2022-07-16 19:34:25 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1a861669c5 
								
							 
						 
						
							
							
								
								Try and work around CRLF problems... again.  
							
							
							
						 
						
							2022-07-16 17:58:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								81d706ff38 
								
							 
						 
						
							
							
								
								Warning fix.  
							
							
							
						 
						
							2022-07-16 17:58:15 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bca0a5381d 
								
							 
						 
						
							
							
								
								Merge pull request  #257  from tkchia/tkchia/abort  
							
							... 
							
							
							
							libcc.ansi: make abort() try harder to abort the process 
							
						 
						
							2022-07-16 13:55:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f15075f9a4 
								
							 
						 
						
							
							
								
								Don't use ed to generate the Basic token list.  
							
							
							
						 
						
							2022-07-16 13:47:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								0eae0d5d71 
								
							 
						 
						
							
							
								
								Replace the terrible ed script in em_code with our new Lua script.  
							
							
							
						 
						
							2022-07-16 13:37:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								7298be8964 
								
							 
						 
						
							
							
								
								Move the em_table_lib.lua helper file elsewhere because we're going to need it.  
							
							
							
						 
						
							2022-07-16 13:25:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								831e07e656 
								
							 
						 
						
							
							
								
								Remember to regenerate the ninja files if any build.lua changes.  
							
							
							
						 
						
							2022-07-16 13:13:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								1ceaf6ea0f 
								
							 
						 
						
							
							
								
								Remove the terrible and problematic shell script with cleaner Lua scripts for generating the em_table stuff.  
							
							
							
						 
						
							2022-07-16 13:12:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6443647c8c 
								
							 
						 
						
							
							
								
								Typo fix.  
							
							
							
						 
						
							2022-07-16 11:54:17 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d5914f2a9e 
								
							 
						 
						
							
							
								
								Better Lua version compatibility.  
							
							
							
						 
						
							2022-07-16 11:54:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									tkchia 
								
							 
						 
						
							
							
							
							
								
							
							
								80d1932ff8 
								
							 
						 
						
							
							
								
								libcc.ansi: make abort() try harder to abort the process  
							
							
							
						 
						
							2022-07-16 07:27:46 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e564ec311a 
								
							 
						 
						
							
							
								
								I hate CRLF files.  
							
							
							
						 
						
							2022-07-16 01:07:55 +02:00