memalloc.c (38887) | memalloc.c (39049) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#ifndef lint 38#if 0 39static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95"; 40#endif 41static const char rcsid[] = | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#ifndef lint 38#if 0 39static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95"; 40#endif 41static const char rcsid[] = |
42 "$Id: memalloc.c,v 1.9 1998/05/18 06:43:57 charnier Exp $"; | 42 "$Id: memalloc.c,v 1.10 1998/09/06 21:13:09 tegge Exp $"; |
43#endif /* not lint */ 44 45#include "shell.h" 46#include "output.h" 47#include "memalloc.h" 48#include "error.h" 49#include "machdep.h" 50#include "mystring.h" | 43#endif /* not lint */ 44 45#include "shell.h" 46#include "output.h" 47#include "memalloc.h" 48#include "error.h" 49#include "machdep.h" 50#include "mystring.h" |
51#include "expand.h" |
|
51#include <stdlib.h> 52#include <unistd.h> 53 54/* 55 * Like malloc, but returns an error when out of space. 56 */ 57 58pointer --- 245 unchanged lines hidden --- | 52#include <stdlib.h> 53#include <unistd.h> 54 55/* 56 * Like malloc, but returns an error when out of space. 57 */ 58 59pointer --- 245 unchanged lines hidden --- |