Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only realloc() environ if we're sure that we know where it came from. | brian | 2000-09-20 | 1 | -5/+4 |
| | | | | | | The recent problems with sshd were due to sshd reassigning `environ' when setenv() thinks it owns it. setenv() subsequently realloc()s the new version of environ and *boom* | ||||
* | o Back out rev 1.4 - reallocf() failure clobbers existing `environ'. | ru | 2000-01-27 | 1 | -3/+8 |
| | | | | | | | | o Do not override `environ' if realloc() fails, leave it intact. o Set `alloced' only when memory is actually allocated. PR: bin/5604 (2nd part) Reviewed by: bde | ||||
* | Replace memory leaking instances of realloc with non-leaking reallocf. | imp | 1998-09-16 | 1 | -1/+1 |
| | | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but... | ||||
* | General -Wall warning cleanup, part I. | jkh | 1996-07-12 | 1 | -2/+3 |
| | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -1/+1 |
| | |||||
* | BSD 4.4 Lite Lib Sources | rgrimes | 1994-05-27 | 1 | -0/+116 |