FilesSubmittedBranchesLabelsClientsUsersJobsHelp
Tree viewShow/hide recent activityInformation
Recent activity in //depot/...
2412005/11/08ksimpsonprocmail: pharma spam that sneaks past greylistd. v1agra, c1alis, 'replica watches'.
2342005/11/02zz9fast: print solve time. 0.004s. ken's main branch: 0.31s. just saying.
2272005/10/30nullbytestrip <script> out of page bodies. someone (zz9) had an XSS in FrontPage within
2192005/10/20ksimpsoniTunes 4.9 does podcasts natively now, so podgrab is officially obsolete.
2082005/09/17nullbytegreylistd 0.4: point people at a page explaining the 450 instead of just being rude
Change 157

Change 157 by zz9@zz9-imac-g4 on 2005/06/02 08:15:30

integrate ken's blank-parsing fix from main into fast.
Affected files ...
//depot/projects/sudoku/fast/sudoku.c#3 integratetext
Differences ...

==== //depot/projects/sudoku/fast/sudoku.c#3 (text) ====

@@ -71,8 +71,9 @@
7171 while (r < 9 && fgets(line, sizeof line, f)) {
7272 if (line[0] == '#' || line[0] == '\n')
7373 continue;
74 /* anything that isn't 1-9 is a blank: '.', '0', '_', ' ' (job000005) */
7475 for (c = 0; c < 9; c++)
75 grid[r][c] = (line[c] == '.') ? 0 : line[c] - '0';
76 grid[r][c] = (line[c] >= '1' && line[c] <= '9') ? line[c] - '0' : 0;
7677 r++;
7778 }
7879 return r == 9;

P4Web/LINUX26X86/2005.1/82295 · Copyright © 1995-2005 Perforce Software · ttul.org