Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a memory leak | julian | 1998-10-07 | 1 | -15/+25 |
| | | | | | | | | | | | PR: 7923 Submitted by: Archie Cobbs <archie@whistle.com> The scandir() function returns -1 if it fails. In many cases when this happens, it does not free the memory that it allocated, resulting in a memory leak, or close the directory opened with opendir(). BAD DOG, BAD! | ||||
* | 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... | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -1/+1 |
| | |||||
* | scandir(3) didn't transfer d_type, and d_ino is called d_fileno now. | phk | 1995-03-25 | 1 | -1/+2 |
| | |||||
* | BSD 4.4 Lite Lib Sources | rgrimes | 1994-05-27 | 1 | -0/+135 |