-
Hi,
as the Bitu and Bits types are 64 bits wide on 64 bit architectures, the %d, %u or %x format specifiers aren't appropriate for them. The attached patch adds the 'l' prefix to printf and scanf formats where needed, so the format strings are valid for both 32 and 64 bit architectures.
2009-11-07 14:07:02 UTC in DOSBox DOS Emulator
-
After upgrading to CUPS 1.3.11, SpliX stopped working due to changes in the Postscript produced - it does not start with %%Creator, but with %%LanguageLevel tag. The attached patch adds %%LanguageLevel check to the respective if condition so the end of header is recognized.
2009-07-18 08:04:32 UTC in spl printer driver for unix
-
Hi,
there are couple of issues breaking build with gcc 4.4:
1) auto_ptr is declared in
2) for using strlen() in src/StdString.h, one has to include
3) specialized template cannot have a storage class defined (parent template storage class is always used)
Patch attached.
2009-05-31 16:57:15 UTC in StepMania
-
Hi,
as g_iMaxWriteahead value is considered only a recommendation for a chunk size by ALSA, the amount of actually requested frames (the frames_to_fill variable) can be higher, which leads to a buffer overflow. The obvious solution is to allocate the sample buffer sized by frames_to_fill instead.
2009-05-31 16:28:14 UTC in StepMania
-
I only tested monochrome, but it looks ok.
2008-10-20 18:51:06 UTC in spl printer driver for unix
-
Although getNextPage deletes the page cache entry, the compressed page itself is not freed after being used.
The fix should be trivial:
--- rendering.cpp (revision 230)
+++ rendering.cpp (working copy)
@@ -143,6 +143,7 @@
_returnState = false;
}
fprintf(stderr, "PAGE: %lu %lu\n", page->pageNr(), page->copiesNr());
+ delete page;.
2008-09-28 10:32:44 UTC in spl printer driver for unix
-
PPDValue can currently leak the _preformatted field on assignment, because the implicit assignment operator just copies the structure, overwriting the pointer to allocated memory with zero. Adding a PPDFile::Value::operator= fixes the issue.
2008-09-28 08:51:50 UTC in spl printer driver for unix
-
Hi,
I send this patch in a personal mail a month and a half ago, but it hasn't been addressed, so I am reposting it in case it's useful for someone.
CLP-300 seems to be rather picky about the input data width, especially in the 1200 dpi mode - it seems that both too narrow or too wide is bad. Stripping the horizontal HWMargin also from the right side does the trick.
Without the patch...
2008-09-05 06:02:48 UTC in spl printer driver for unix
-
Still cannot get 1200 dpi working on the clp-300, and I'm running out of ideas :) It worked on 1.1.1 and I cannot find the crucial difference.
2008-06-15 20:35:34 UTC in spl printer driver for unix
-
Fix attached.
2008-06-15 18:26:08 UTC in spl printer driver for unix