Diff for /dietlibc/t.c between versions 1.58 and 1.59

version 1.58, 2001/05/10 13:55:35 version 1.59, 2001/05/10 14:48:53
Line 50  extern double atof(const char *c); Line 50  extern double atof(const char *c);
   
   
 int main(int argc,char *argv[]) {  int main(int argc,char *argv[]) {
   #if 0
   struct hostent * host;    struct hostent * host;
   struct in_addr i;    struct in_addr i;
   
Line 66  int main(int argc,char *argv[]) { Line 67  int main(int argc,char *argv[]) {
     address = *((struct in_addr *) (host->h_addr_list)[0]);      address = *((struct in_addr *) (host->h_addr_list)[0]);
     printf("addr %s\n", inet_ntoa(address));      printf("addr %s\n", inet_ntoa(address));
   }    }
   #endif
 #if 0  #if 0
   struct msgbuf bla;    struct msgbuf bla;
   bla.mtype=0;    bla.mtype=0;
Line 93  int main(int argc,char *argv[]) { Line 95  int main(int argc,char *argv[]) {
   printf("%d\n",setenv("foo","bar",1));    printf("%d\n",setenv("foo","bar",1));
   execlp("printenv","printenv","foo",0);    execlp("printenv","printenv","foo",0);
 #endif  #endif
 #if 0  #if 1
     printf("%d\n",fnmatch("*c*","bin",0));
   if (!fnmatch("s*", "sub", 0))    if (!fnmatch("s*", "sub", 0))
     printf("s* sub\n");      printf("s* sub\n");
   if (!fnmatch("s*", "glob", 0))    if (!fnmatch("s*", "glob", 0))

Removed from v.1.58  
changed lines
  Added in v.1.59


LinuxTV legacy CVS <linuxtv.org/cvs>