changeset 703:8dc894322ce8

repos maintenance
author thomask
date Wed, 12 Oct 2005 18:24:50 +0000
parents 4c5b7f538994
children 3e690f0d2cbf
files dstress.c nocompile/a/assert_11_A.d nocompile/a/assert_11_B.d nocompile/a/assert_11_C.d nocompile/a/assert_11_D.d unique.d
diffstat 6 files changed, 15 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/dstress.c	Wed Oct 12 18:22:35 2005 +0000
+++ b/dstress.c	Wed Oct 12 18:24:50 2005 +0000
@@ -496,7 +496,7 @@
 	size_t len;
 	char* buffer;
 
-	len = = 4 + strlen(CRASH_RUN) + strlen(cmd);
+	len = 4 + strlen(CRASH_RUN) + strlen(cmd);
 	buffer = malloc(len);
 
 	snprintf(buffer, len, "\"%s\" %s", CRASH_RUN, cmd);
@@ -515,9 +515,9 @@
 	}
 #else
 
-#error comment me out, if your test cases produce neither eternal loops nor Access Violations
+//#error comment me out, if your test cases produce neither eternal loops nor Access Violations
 	int i = system(cmd);
-	printf("EXIT CODE: %i\n", i);
+	fprintf(stderr, "EXIT CODE: %i\n", i);
 	return i;
 
 #endif /* USE_POSIX else */
--- a/nocompile/a/assert_11_A.d	Wed Oct 12 18:22:35 2005 +0000
+++ b/nocompile/a/assert_11_A.d	Wed Oct 12 18:24:50 2005 +0000
@@ -6,10 +6,10 @@
 // @date@	2005-09-02
 // @uri@	news:df86a5$248l$1@digitaldaemon.com
 
-// __DSTRESS_DFLAGS__ 14
+// __DSTRESS_ELINE__ 14
 
 module dstress.nocompile.a.assert_11_A;
 
 void main(){
 	static assert(-1 > 0);
-}
\ No newline at end of file
+}
--- a/nocompile/a/assert_11_B.d	Wed Oct 12 18:22:35 2005 +0000
+++ b/nocompile/a/assert_11_B.d	Wed Oct 12 18:24:50 2005 +0000
@@ -6,10 +6,10 @@
 // @date@	2005-09-02
 // @uri@	news:df86a5$248l$1@digitaldaemon.com
 
-// __DSTRESS_DFLAGS__ 14
+// __DSTRESS_ELINE__ 14
 
 module dstress.nocompile.a.assert_11_B;
 
 void main(){
 	static assert(0 < -1);
-}
\ No newline at end of file
+}
--- a/nocompile/a/assert_11_C.d	Wed Oct 12 18:22:35 2005 +0000
+++ b/nocompile/a/assert_11_C.d	Wed Oct 12 18:24:50 2005 +0000
@@ -6,10 +6,10 @@
 // @date@	2005-09-02
 // @uri@	news:df86a5$248l$1@digitaldaemon.com
 
-// __DSTRESS_DFLAGS__ 14
+// __DSTRESS_ELINE__ 14
 
 module dstress.nocompile.a.assert_11_C;
 
 void main(){
 	static assert(-1 >= 0);
-}
\ No newline at end of file
+}
--- a/nocompile/a/assert_11_D.d	Wed Oct 12 18:22:35 2005 +0000
+++ b/nocompile/a/assert_11_D.d	Wed Oct 12 18:24:50 2005 +0000
@@ -6,10 +6,10 @@
 // @date@	2005-09-02
 // @uri@	news:df86a5$248l$1@digitaldaemon.com
 
-// __DSTRESS_DFLAGS__ 14
+// __DSTRESS_ELINE__ 14
 
 module dstress.nocompile.a.assert_11_D;
 
 void main(){
 	static assert(0 <= -1);
-}
\ No newline at end of file
+}
--- a/unique.d	Wed Oct 12 18:22:35 2005 +0000
+++ b/unique.d	Wed Oct 12 18:24:50 2005 +0000
@@ -4,12 +4,6 @@
 private import std.stdio;
 private import std.path;
 
-version(verbose){
-	FILE* msgStream = stderr;
-}else{
-	FILE* msgStream = stdout;
-}
-
 private char[][char[]] known;
 private uint doppelgaenger;
 
@@ -43,7 +37,7 @@
 	if(isfile(file)){
 		char[]* tmp = base in known;
 		if(tmp){
-			fwritef(msgStream, "%s :\n\t%s\n\t%s\n", base, file, *tmp);
+			fwritef(stdout, "%s :\n\t%s\n\t%s\n", base, file, *tmp);
 			doppelgaenger++;
 		}else{
 			known[base] = file;
@@ -74,11 +68,11 @@
 
 	version(verbose){
 		foreach(char[] entry; known.keys.sort){
-			writef("\t%s\n", entry);
+			fwritef(stderr, "\t%s\n", entry);
 		}
 	}
 	
-	fwritef(msgStream, "hits : %s\n", doppelgaenger);
+	fwritef(stdout, "hits : %s\n", doppelgaenger);
 
 	return doppelgaenger > 0;
-}
\ No newline at end of file
+}