Changeset 2116 for trunk/src/libctests/glibc/posix/bug-glob2.c
- Timestamp:
- Jun 30, 2005, 5:16:59 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libctests/glibc/posix/bug-glob2.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2115 r2116 23 23 #include <dirent.h> 24 24 #include <glob.h> 25 #ifdef HAVE_MCHECK_H 25 26 #include <mcheck.h> 27 #endif 26 28 #include <stdlib.h> 27 29 #include <stdio.h> … … 268 270 do_test (void) 269 271 { 272 #ifdef HAVE_MCHECK_H 270 273 mtrace (); 274 #endif 271 275 272 276 glob_t gl; … … 278 282 { 279 283 puts ("glob did not fail with GLOB_ABORTED"); 280 exit (EXIT_FAILURE); 284 exit (EXIT_FAILURE); 281 285 } 282 286 … … 290 294 { 291 295 puts ("glob did not fail with GLOB_NOMATCH"); 292 exit (EXIT_FAILURE); 296 exit (EXIT_FAILURE); 293 297 } 294 298 295 299 globfree (&gl); 296 300 301 #ifdef HAVE_MCHECK_H 297 302 muntrace (); 303 #endif 298 304 299 305 return 0; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.