legacy_nonexistent.c | legacy_nonexistent.c | |||
---|---|---|---|---|
/* Reference to a non-existent dirfile from the legacy API should fail clea nly | /* Reference to a non-existent dirfile from the legacy API should fail clea nly | |||
*/ | */ | |||
#include "test.h" | #include "test.h" | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#include <fcntl.h> | #include <fcntl.h> | |||
#include <string.h> | #include <string.h> | |||
#include <errno.h> | #include <errno.h> | |||
#include <unistd.h> | ||||
int main(void) | int main(void) | |||
{ | { | |||
#ifndef GD_LEGACY_API | #ifndef GD_LEGACY_API | |||
return 77; /* skipped */ | return 77; /* skipped */ | |||
#else | #else | |||
int error, r = 0; | int error, r = 0; | |||
size_t n = GetNFrames("no such dirfile", &error, NULL); | size_t n = GetNFrames("no such dirfile", &error, NULL); | |||
CHECKI(n,0); | CHECKI(n,0); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |