summaryrefslogtreecommitdiff
path: root/bitfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitfield.c')
-rw-r--r--bitfield.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/bitfield.c b/bitfield.c
index 78aba9e..7115524 100644
--- a/bitfield.c
+++ b/bitfield.c
@@ -83,31 +83,6 @@ if(locbitopstruct->adjust==0)
bitoparraybase,
locbitopstruct->bitoparraysize,
&nbitops);
-#ifdef DEBUG
-#ifdef LINUX
- if (locbitopstruct->bitoparraysize==30L){
- /* this is the first loop, write a debug file */
- FILE *file;
- unsigned long *running_base; /* same as unsigned long */
- long counter;
- file=fopen("debugbit.dat","w");
- running_base=bitarraybase;
- for (counter=0;counter<(long)(locbitopstruct->bitfieldarraysize);counter++){
-#ifdef _LP64
- fprintf(file,"%08X",(unsigned int)(*running_base&0xFFFFFFFFL));
- fprintf(file,"%08X",(unsigned int)((*running_base>>32)&0xFFFFFFFFL));
- if ((counter+1)%4==0) fprintf(file,"\n");
-#else
- fprintf(file,"%08lX",*running_base);
- if ((counter+1)%8==0) fprintf(file,"\n");
-#endif
- running_base=running_base+1;
- }
- fclose(file);
- printf("\nWrote the file debugbit.dat, you may want to compare it to debugbit.good\n");
- }
-#endif
-#endif
if (ticks>global_min_ticks) break; /* We're ok...exit */