# HG changeset patch # User HackBot # Date 1359845763 0 # Node ID 8fae55e99268b78d64f4ae0fd308a6ab3cadd80a # Parent 511c136289660d2e9d048b1f1359266c0352db11 sed -i s/1000/10000/ fueue.c #Whistles innocently diff -r 511c13628966 -r 8fae55e99268 fueue.c --- a/fueue.c Sat Feb 02 22:55:48 2013 +0000 +++ b/fueue.c Sat Feb 02 22:56:03 2013 +0000 @@ -278,7 +278,7 @@ { Queue q; initQueue(&q); // q is empty now - char s[1000] = "72 101 108 108 111 44 32 119 111 114 108 100 33 10 H"; + char s[10000] = "72 101 108 108 111 44 32 119 111 114 108 100 33 10 H"; int printmode = FALSE; // a debug mode that will print the fueue program at each step int k = 0; @@ -293,11 +293,11 @@ } else { - strncpy(s, argv[1], 1000); + strncpy(s, argv[1], 10000); } break; case 3: - strncpy(s, argv[2], 1000); + strncpy(s, argv[2], 10000); printmode = (strcmp(argv[1], "--print") == 0); break; default: