comparison util.c @ 270:dacd3f3c5823

implemented restack behavior (floats are on top in tiled mode)
author Anselm R.Garbe <arg@10ksloc.org>
date Mon, 14 Aug 2006 10:18:24 +0200
parents 7b63c375d28c
children 45af6a8a0cbf
comparison
equal deleted inserted replaced
269:bf6792e3e700 270:dacd3f3c5823
38 vfprintf(stderr, errstr, ap); 38 vfprintf(stderr, errstr, ap);
39 va_end(ap); 39 va_end(ap);
40 exit(EXIT_FAILURE); 40 exit(EXIT_FAILURE);
41 } 41 }
42 42
43 void *
44 erealloc(void *ptr, unsigned int size)
45 {
46 void *res = realloc(ptr, size);
47 if(!res)
48 bad_malloc(size);
49 return res;
50 }
51
43 void 52 void
44 spawn(Arg *arg) 53 spawn(Arg *arg)
45 { 54 {
46 static char *shell = NULL; 55 static char *shell = NULL;
47 56