Diff for /dietlibc/t.c between versions 1.214 and 1.215

version 1.214, 2008/05/09 04:36:56 version 1.215, 2009/02/26 20:51:54
Line 108  extern char* strcpy2(char*a,char*b); Line 108  extern char* strcpy2(char*a,char*b);
 #define malloc(x) ({typeof(x) y=x; (y<0 || (size_t)(y)!=y ? 0 : malloc(y));})  #define malloc(x) ({typeof(x) y=x; (y<0 || (size_t)(y)!=y ? 0 : malloc(y));})
   
 int main(int argc,char *argv[]) {  int main(int argc,char *argv[]) {
   #if 0
   char* a=malloc(-3);    char* a=malloc(-3);
   char* b=malloc(0xffffffffull+1);    char* b=malloc(0xffffffffull+1);
   printf("%p %p\n",a,b);    printf("%p %p\n",a,b);
   #endif
     printf("%u\n",getpagesize());
 #if 0  #if 0
   struct stat s;    struct stat s;
   time_t t=time(0);    time_t t=time(0);

Removed from v.1.214  
changed lines
  Added in v.1.215


LinuxTV legacy CVS <linuxtv.org/cvs>