Diff for /dietlibc/t.c between versions 1.88 and 1.89

version 1.88, 2001/05/23 13:06:51 version 1.89, 2001/05/23 14:57:32
Line 33 Line 33
 int foo;  int foo;
   
 int main(int argc,char *argv[]) {  int main(int argc,char *argv[]) {
   #if 0
     struct netent* n=getnetbyname("loopback");
     printf("%s %s\n",n->n_name,inet_ntoa(*(struct in_addr*)&n->n_net));
   #endif
   #if 0
   fprintf(stdout,"foo\n");    fprintf(stdout,"foo\n");
   sleep(1);    sleep(1);
   fprintf(stdout,"bar");    fprintf(stdout,"bar");
Line 42  int main(int argc,char *argv[]) { Line 47  int main(int argc,char *argv[]) {
   sleep(1);    sleep(1);
   fprintf(stdout,"\n");    fprintf(stdout,"\n");
   sleep(1);    sleep(1);
   #endif
 #if 0  #if 0
   sigset_t s;   /* sigsetops */    sigset_t s;   /* sigsetops */
   
Line 130  int main(int argc,char *argv[]) { Line 136  int main(int argc,char *argv[]) {
   foo[6]=0;    foo[6]=0;
   puts(foo);    puts(foo);
 #endif  #endif
 #if 0  #if 1
   struct hostent * host;    struct hostent * host;
   struct in_addr i;    struct in_addr i;
   
   host = gethostbyname("ftp.ciril.fr");    host = gethostbyname("pegasus");
   
   if (!host)    if (!host)
     printf("host null\n");      printf("host null\n");

Removed from v.1.88  
changed lines
  Added in v.1.89


LinuxTV legacy CVS <linuxtv.org/cvs>