History log of /src/bin/csh/dir.c |
Revision | | Date | Author | Comments |
1.36 |
| 24-Apr-2024 |
nia | csh: replace malloc(x * y) and realloc(x * y) with reallocarray
|
1.35 |
| 09-Aug-2020 |
dholland | Use the right size for several calloc calls.
When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This doesn't actually affect the results except on DS9000 though :-)
|
1.34 |
| 09-Aug-2020 |
dholland | Don't cast the value returned from *malloc. No change to compiler output.
|
1.33 |
| 03-Apr-2020 |
joerg | Don't depend on common declarations.
|
1.32 |
| 05-Jan-2019 |
christos | Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
|
1.31 |
| 05-Jan-2019 |
maya | Remove Free, s/xfree/free/.
Standard C says that free should be a no-op for a NULL pointer, so we don't need an extra function to do this.
While here, add an XXX about a wrong sounding comment
|
1.30 |
| 16-Jul-2013 |
christos | branches: 1.30.26; 1.30.28; WARNS=6 [-Wconversion]
|
1.29 |
| 16-Jul-2007 |
christos | branches: 1.29.34; 1.29.40; no need to have cshbool; just make them int
|
1.28 |
| 16-Jul-2007 |
christos | PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small int.
|
1.27 |
| 16-Jul-2007 |
dogcow | Rename bool -> cshbool; despite the name, bool actually holds values other than 0 or 1. Fixes PR/36650.
|
1.26 |
| 05-Apr-2006 |
christos | save the home directory.
|
1.25 |
| 18-Mar-2006 |
christos | Coverity CID 1760: Plug memory leak.
|
1.24 |
| 26-Jun-2005 |
christos | sprinkle a little const, and now everything compiles with WARNS=3
|
1.23 |
| 10-May-2004 |
christos | avoid overflow in strcpy.
|
1.22 |
| 07-Aug-2003 |
agc | branches: 1.22.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.21 |
| 19-Oct-2002 |
provos | use readlink with bufsize - 1; approved thorpej.
|
1.20 |
| 12-Aug-2002 |
itojun | calloc() arg mistake. it's (nelem, size). from openbsd
|
1.19 |
| 25-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.18 |
| 03-Nov-2001 |
lukem | branches: 1.18.2; fix WARNS=2
|
1.17 |
| 14-Sep-2001 |
wiz | ANSIfication and KNF improvements by Petri Koistinen in bin/13689, with some fixes by me.
|
1.16 |
| 08-Oct-2000 |
is | Format string auditing by Bill Sommerfeld.
|
1.15 |
| 19-Mar-1999 |
christos | branches: 1.15.2; 1.15.10; braces for gcc-2.8.1
|
1.14 |
| 28-Jul-1998 |
mycroft | Be more retentive about use of NOTREACHED and noreturn.
|
1.13 |
| 28-Jul-1998 |
mycroft | Delint (partially).
|
1.12 |
| 27-Jul-1998 |
mycroft | const propagation.
|
1.11 |
| 04-Jul-1997 |
christos | Rename err.h to errnum.h to avoid collision with err.h Fix compiler warnings.
|
1.10 |
| 13-Jan-1997 |
tls | kill register
|
1.9 |
| 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.8 |
| 23-Sep-1994 |
mycroft | Eliminate uses of some obsolete functions.
|
1.7 |
| 21-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.6 |
| 31-Jul-1994 |
mycroft | Fix bogus freeing of memory.
|
1.5 |
| 01-Aug-1993 |
mycroft | branches: 1.5.2; Add RCS identifiers.
|
1.4 |
| 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.3 |
| 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.2 |
| 21-Mar-1993 |
cgd | after 0.2.2 "stable" patches applied
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 20-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.5.2.1 |
| 01-Aug-1994 |
cgd | from trunk.
|
1.15.10.2 |
| 12-May-2004 |
jmc | Pullup patch (requested by kleink in ticket #147)
Use readlink with bufsize - 1.
|
1.15.10.1 |
| 08-Oct-2000 |
is | Pullup from trunc, requested by is, approved by jhawk: dir.c 1.16, dig.c 1.2, host.c 1.3 Format string cleanups by sommerfeld.
|
1.15.2.1 |
| 08-Oct-2000 |
he | Pull up revision 1.16 (requested by is): Format string cleanup.
|
1.18.2.2 |
| 11-May-2004 |
tron | Pull up revision 1.23 (requested by kleink in ticket #1688): avoid overflow in strcpy.
|
1.18.2.1 |
| 11-May-2004 |
tron | Pull up revision 1.21 (requested by kleink in ticket #1688): use readlink with bufsize - 1; approved thorpej.
|
1.22.2.1 |
| 11-May-2004 |
tron | Pull up revision 1.23 (requested by kleink in ticket #306): avoid overflow in strcpy.
|
1.29.40.1 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.29.34.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.30.28.4 |
| 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.30.28.3 |
| 21-Apr-2020 |
martin | Sync with HEAD
|
1.30.28.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.30.28.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.30.26.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|