Commit Graph

21 Commits

Author SHA1 Message Date
christos
62faec262e Don't free random memory; thanks gcc-4. 2006-05-14 01:09:03 +00:00
christos
ec2162bd79 Avoid double free. 2006-04-27 13:25:21 +00:00
christos
f2ec0dc9a2 Coverity CID 2995: Fix memory leak. 2006-04-24 19:53:08 +00:00
christos
a74ea5fcd7 Process window size changes after xread(). [change window size]
echo $COLUMS $LINES; will now print the new sizes immediately, instead
of after the second echo. From otto@OpenBSD
2005-09-11 22:23:42 +00:00
christos
a397ec1f77 warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
2005-06-26 19:09:00 +00:00
rillig
42627098be Fixed wrong use of the <ctype.h> functions by adding (unsigned char) casts. 2005-05-23 08:03:25 +00:00
mycroft
f662a744b6 Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
2004-07-07 19:20:09 +00:00
jmmv
e3d9d7109f Add ':' to the list of characters to be escaped. Fixes completion problems
when the filename includes this character.
2003-09-11 10:24:57 +00:00
wiz
ad30231fc4 From OpenBSD:
revision 1.18
date: 2003/08/22 18:17:10;  author: fgsch;  state: Exp;  lines: +2 -2
in word location, fix forward scanning so it correctly account for any
escaped char and not only spaces.
for "foo (bar.a)" and "foo (bar a)", cd foo\ \(bar.<tab> will correctly
expand to foo\ \(bar.a\).
otto@ and pval@ ok.
2003-08-26 07:28:39 +00:00
agc
6377cac711 Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
wiz
4b68a236c9 Fix completion of files containing #. From Soren Jacobsen in PR 21486. 2003-05-07 06:39:08 +00:00
wiz
c31c26034b Add ` (backquote) to quoted characters for completion. From fgsch@openbsd.
Okayed by christos.
2003-05-06 11:34:01 +00:00
provos
f9b44bb190 change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:41:11 +00:00
sjg
84412e9292 Fix some aspects of globbing - in emacs mode at least.
echo ~<ESC><ESC> and $HOME<ESC><ESC> as well as ~/b<ESC><ESC> all
now expand correctly.
2002-01-25 23:40:51 +00:00
jdolecek
7b61cc94ea Implement (somewhat enhanced) idea stealed from bash:
when completing the filename (either in vi mode with vi-tabcomplete on,
or in emacs mode after double esc), escape any shell special characters
and chars from $IFS with backslash - very handy especially when
dealing with filenames containing spaces

The patch has been sent to maintainer, but I haven't got any reply yet even
after about a month :(
1999-11-02 22:06:45 +00:00
hubertf
48ee8d1290 resolve conflicts 1999-10-20 15:09:58 +00:00
christos
1f3392af64 char->unsigned char casts for is*() 1998-11-04 18:27:20 +00:00
christos
90647eb832 Fix compiler warnings
Add WARNS=1
1997-07-20 17:41:56 +00:00
tls
2ab2e20cff RCS ID Police 1997-01-12 19:11:37 +00:00
jtc
5a4124868a import pdksh 5.2.9 1996-10-09 15:12:31 +00:00
jtc
e1b2664cf1 import pdksh 5.2.8 1996-09-21 23:35:13 +00:00