-
When using GETNEXT queries (v1, or v2c with the -CB option), the string "index" gets printed on every 10th line before the first column of data. It looks like print_table gets called multiple times in this case, and the code always prints the header for the index column on each call. The fix is to only print the header when first_pass==1.
Applies to 5.4.2.1 and trunk.
2009-09-03 15:50:05 UTC in net-snmp
-
BSD-derived libc's almost always use the same Torek stdio code. If the preprocessor macro _FSTDIO is defined, they should support the same hack to rewind the internal buffer. That macro is defined in newlib and Apple's stdio.h, so we don't need to explicitly check for them anymore. Makes sox build again on FreeBSD, and should work for the other BSDs as well.
2009-08-31 20:30:54 UTC in SoX - Sound eXchange
-
You're hitting a bug in AIX 5.3's C compiler. IBM fixed it, so upgrading should solve your problem:
http://www.ibm.com/developerworks/forums/message.jspa?messageID=13876484#13876484.
2009-04-17 15:37:45 UTC in Top
-
You aren't running unixtop; you're running GNU top. Unixtop uses capital K for KB and M for MB.
2009-04-17 15:18:24 UTC in Top
-
Many of the scripts in the openvpn source have their shell set to /bin/bash, but only two use bash features. The attached patch (against openvpn-2.1_rc9) sets the shell on the rest of the scripts to /bin/sh for better portability. The only scripts that actually require bash are contrib/pull-resolv-conf/client.{up,down} ; they use the ${!var} variable indirection feature.
2008-08-06 14:32:21 UTC in OpenVPN
-
There's a missing set of parenthesis in the check that determines how many filenames are required on the commandline, which makes sox think that the "play" command can take a commandline with 0 filenames. Patch attached and included:
diff -burp sox-14.1.0/src/sox.c sox-14.1.0-dan/src/sox.c
--- src/sox.c 2008-07-28 15:04:36.000000000 -0500
+++ src/sox.c 2008-07-30 11:36:41.046073378...
2008-07-30 16:46:02 UTC in SoX - Sound eXchange
-
What was the fix for this bug? I'm looking at datatable-beta-debug.js from 2.4.1 and the formatNumber
method doesn't do anything wrt commas.
2008-02-07 18:08:45 UTC in YUI Library
-
The Unix attribute blocks used by Info-Zip (0x7855) and PKWare (0x000D) both use a short to store uid and gid, and both simply store real_uid mod 65536. It might be nice to create an extended 7855 block:
Uid2 2 bytes File user ID
Gid2 2 bytes File group ID
Uid8 8 bytes File user ID if >= 65536
Gid8 8 bytes File group ID if >= 65536
Suggesting 8 here just so it'll never...
2007-09-10 05:28:06 UTC in Info-ZIP project
-
Ok, I missed a whole bunch of long->off_t conversions :) My original patch just fixed enough variables to allow partial-file viewing past the 2gb mark in a large file.
Basically any variable dealing with P->byte, H->seg, or VPAGE->addr needs to be an off_t. Sun Studio's lint came in handy here, since it has a warning for storing large integer types in smaller variables.
I did leave row...
2007-02-14 23:22:01 UTC in JOE - Joe's own editor
-
Ever since the coroutine code got checked in, -cvs joe (compiled using gcc) would segfault as soon as I pressed a key in the edit window. A little testing discovered that all non-gcc compilers had issues with cmd.c.
Sun Studio cc:
"cmd.c", line 369: syntax error before or at: *
Intel icc:
cmd.c(369): error: expected a ")"
func = va_arg(args, int (*)(void *obj, int));
Tru64...
2007-02-14 22:50:04 UTC in JOE - Joe's own editor