1 diff -Nru fortune-0.2/fortune.c fortune-0.2-new/fortune.c
2 --- fortune-0.2/fortune.c 1998-10-25 01:05:19.000000000 +0200
3 +++ fortune-0.2-new/fortune.c 2002-09-15 18:46:36.000000000 +0200
5 #warn Your system headers say that mmap is not supported!
10 #define FORTUNEDIR "/usr/share/games/fortunes"
12 struct option const long_options[] =
14 {"help", no_argument, 0, 'h'},
15 {"help", no_argument, 0, '?'},
16 {"match", required_argument, 0, 'm'},
17 + {"set", no_argument, 0, 's'},
18 + {"out", no_argument, 0, 'o'},
19 {"version", no_argument, 0, 'V'},
20 {(char *)0, 0, 0, (char)0}
25 progname=argv[0]; re=NULL;
26 - while ((c = getopt_long(argc, argv, "h?m:V",
27 + while ((c = getopt_long(argc, argv, "h?som:V",
28 long_options, (int *) 0)) != EOF) {
33 case 'V': fprintf(stderr,"%s version %s\n", progname, VERSION);