IO not appropriate in the context of a sorting routine, and in any case the proper headers are not included, so gcc emits an undefined symbol error. Remove the "printf" statement. --- CombBLAS_beta_16_2/usort/include/usort/seqUtils.tcc +++ CombBLAS_beta_16_2/usort/include/usort/seqUtils.tcc @@ -142,7 +142,6 @@ } if ( (a[nmax]==a[nmin]) && (ctr==0) ) { - printf("All the numbers are identical, the list is sorted\n"); return; } ain'>index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/publish.scm
AgeCommit message (Expand)Author
2022-04-29publish: Send uncached narinfo replies from the main thread....Fixes <https://issues.guix.gnu.org/54723>. Reported by Guillaume Le Vaillant <glv@posteo.net>. Regression introduced in f743f2046be2c5a338ab871ae8666d8f6de7440b. With commit f743f2046be2c5a338ab871ae8666d8f6de7440b, responses to pipelined GETs would end up being written concurrently by many threads. Thus the body of those responses could be interleaved and garbled. * guix/scripts/publish.scm: Revert f743f2046be2c5a338ab871ae8666d8f6de7440b. * tests/publish.scm ("/*.narinfo pipeline"): New test. Ludovic Courtès
2022-02-14publish: Do not sign the URL/Compression/FileSize narinfo fields....This will allow mirror operators to alter these non-normative bits of a narinfo without having to resign narinfos. * guix/scripts/publish.scm (narinfo-string): Remove URL/Compression/FileSize from BASE-INFO. Move them after "Signature". * tests/publish.scm ("/*.narinfo") ("/*.narinfo with properly encoded '+' sign") ("/*.narinfo with lzip + gzip") ("with cache, lzip + gzip"): Adjust accordingly. * tests/substitute.scm ("query narinfo with signature over relevant subset"): New test. Ludovic Courtès