Ignore:
Timestamp:
Jun 30, 2005, 5:16:59 AM (20 years ago)
Author:
bird
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/posix/bug-glob2.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2115 r2116  
    2323#include <dirent.h>
    2424#include <glob.h>
     25#ifdef HAVE_MCHECK_H
    2526#include <mcheck.h>
     27#endif
    2628#include <stdlib.h>
    2729#include <stdio.h>
     
    268270do_test (void)
    269271{
     272#ifdef HAVE_MCHECK_H
    270273  mtrace ();
     274#endif
    271275
    272276  glob_t gl;
     
    278282    {
    279283      puts ("glob did not fail with GLOB_ABORTED");
    280       exit (EXIT_FAILURE); 
     284      exit (EXIT_FAILURE);
    281285    }
    282286
     
    290294    {
    291295      puts ("glob did not fail with GLOB_NOMATCH");
    292       exit (EXIT_FAILURE); 
     296      exit (EXIT_FAILURE);
    293297    }
    294298
    295299  globfree (&gl);
    296300
     301#ifdef HAVE_MCHECK_H
    297302  muntrace ();
     303#endif
    298304
    299305  return 0;
Note: See TracChangeset for help on using the changeset viewer.