ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/ptytty.m4
(Generate patch)

Comparing libptytty/ptytty.m4 (file contents):
Revision 1.26 by sf-exg, Mon May 23 11:04:41 2011 UTC vs.
Revision 1.27 by sf-exg, Wed Jul 6 10:04:02 2011 UTC

7#include <stdlib.h> 7#include <stdlib.h>
8#include <sys/stat.h> 8#include <sys/stat.h>
9$5 9$5
10int main() 10int main()
11{ 11{
12 char **path, *list[] = { $4, NULL }; 12 const char **path, *list[] = { $4, NULL };
13 FILE *f = fopen("conftestval", "w"); 13 FILE *f = fopen("conftestval", "w");
14 if (!f) return 1; 14 if (!f) return 1;
15#ifdef $2 15#ifdef $2
16 fprintf(f, "%s\n", $2); 16 fprintf(f, "%s\n", $2);
17#elif defined($3) 17#elif defined($3)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines