Commit Graph

34 Commits

Author SHA1 Message Date
christos 85e2f53c41 Coverity CID 2786: Fix memory leak. 2006-03-29 15:44:19 +00:00
tron 7a28db2210 Fix build problem caused by last commit. 2006-03-27 10:02:37 +00:00
christos d20b033359 Coverity CID 1362: Allocate one more element to appease coverity. 2006-03-26 22:08:59 +00:00
christos f3acb4a69b Coverity CID 1757: Don't leak memory 2006-03-26 22:04:14 +00:00
christos 4820f3f28c Coverity CID 1758: Unconfuse coverity about memory leak. 2006-03-26 22:02:59 +00:00
christos 714883262b Coverity CID 2038 2006-03-26 22:00:23 +00:00
christos b1987e98f0 Coverity CID 2039: Plug memory leak. 2006-03-26 21:57:14 +00:00
christos 2b5f8cbcc0 Coverity CID 2042: Plug memory leak 2006-03-26 21:53:55 +00:00
christos 59ffb64e52 Coverity CID 2043: Don't leak memory 2006-03-26 21:49:01 +00:00
christos d06f1825d5 Coverity CID 2044: Don't leak memory. 2006-03-26 21:46:25 +00:00
christos e4dcd1072c Coverity CID 2399: Move strcpy lower, where it is actually going to be
used, inside the test of directory != NULL.
2006-03-26 21:44:05 +00:00
christos 34525befc6 Coverity CID 972: Someone confused && and || again. 2006-03-26 21:38:43 +00:00
wiz 57a6585373 Fix getCDKMatrixCell type. From Eric Auge in PR 31055. 2005-09-13 11:48:41 +00:00
lukem 1098edc01a Ensure widestItem is initialized in setCDKSwindowContents() before use.
Detected by gcc -Wuninitialized.
2005-06-01 11:51:11 +00:00
dsl 31d993f26a Use (unsigned char) not & 0xff on args to ctype functions 2004-10-28 20:52:20 +00:00
dsl 0cb35e8cae Mask 'char' arguments to ctype functions with 0xff, an (int) cast doesn't
solve the problem of charcter codes 0x80..0xff
2004-10-27 20:26:26 +00:00
simonb ff04be0dcd Remove unused (and completely bogus) SYSTEM_NAME define from
include/cdk_config.h
2004-04-26 05:15:17 +00:00
simonb f8d7121559 Remove ./configure droppings. 2004-04-26 05:09:22 +00:00
wiz 3f41daaf5b Add patch to handle tabs correctly, from Peter Postma.
Closes my PR 16936.
2004-04-05 10:21:23 +00:00
christos a30cb1573a PR/17595: Peter Postma: SIGSEGV+SIGBUS handler calls functions that are not
async-signal-safe. Remove the handlers.
2004-04-02 16:11:17 +00:00
agc 8fcc4625a4 Use bounded string op (snprintf instead of sprintf) for an automatic
array which is used to calculate the maximum width of a scroll entry
item.  Previous use of sprintf would blindly overwrite the stack if
there were more than 100 characters in an entry item.
2003-08-28 11:32:33 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz bf37d79146 Fix some typos, noted in PR 19651. 2003-01-04 00:37:17 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
tron bb87fe99b0 Correct section numbers: we don't have "3X", use "3" instead. 2001-04-08 14:13:38 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
garbled 50a5e07cd6 Add doupdate() call to drawCDKLabel so the widget actually appears on the
screen.
2001-01-24 08:50:36 +00:00
garbled 12a0ea436c Fix a problem in these widgets where they uncondititonally set the
exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
function.  This had the unfortunate effect that when you hit F2 to refresh
the screen in sushi, it would exit out immediately after refreshing the
screen.

This modification allows the programmer to still create an exit-causing
bound function, by simply setting the exitType in the function, as was likely
intended by the author.  Many thanks to Charles Hannum for helping me figure
this out.

This should fix problems noted by itojun on tech-userlevel with the function
keys.
2001-01-09 18:41:53 +00:00
garbled 323dece9e0 Fixup all these includes so a -I/usr/include/cdk isn't required. 2001-01-05 01:11:34 +00:00
thorpej c792f5941a Remote a binary that was accidentally imported. 2001-01-04 22:09:58 +00:00
garbled b5243a9f8d Add KEY_CR to make up for KEY_ENTER being overridden by curses.h 2001-01-04 20:17:01 +00:00
garbled 619eef692f Patches to allow CDK to compile cleanly, and add KEY_CR, because curses.h
overrides the KEY_ENTER define in curdefs.h
2001-01-04 20:15:29 +00:00
garbled 5940edcfb4 Initial import of CDK 4.9.9. The work to port this was performed by
Charles Hannum, and that is the version being imported:
cdk-4.9.9-20000407-myc3
2001-01-04 19:57:58 +00:00