SET (base_with_ver "fortune-mod-[0-9]+\\\\.[0-9]+\\\\.[0-9]+")
SET(CPACK_SOURCE_IGNORE_FILES
- "/.deps/"
+ "/\\\\.deps/"
"/\\\\.git/"
"/\\\\.tidyall\\\\.d/"
"~$"
"\\\\.pyc$"
"/tags$"
- "/(build|BUILD|B)/"
+ # "/(build|BUILD|B)/"
)
IF(WIN32 AND NOT UNIX)
(Note: this file has been re-arranged to be in reverse chronological
order, which is The Right Thing for ChangeLogs - DLC)
+May 31, 2021 (fortune-mod 3.6.1)
+
+ Fix missing rinutils in release tarball.
+ ( https://github.com/shlomif/fortune-mod/issues/52 ; thanks
+ to @Vonfry )
+
April 20, 2021 (fortune-mod 3.6.0)
Some lib-recode handling fixes.
(void)fprintf(stderr, "%s",
"fortune: can't match fortunes on this system (Sorry)\n");
exit(0);
-#else /* NO_REGEX */
+#else /* NO_REGEX */
case 'm': /* dump out the fortunes */
Match = true;
pat = optarg;
case 'i': /* case-insensitive match */
ignore_case = true;
break;
-#endif /* NO_REGEX */
+#endif /* NO_REGEX */
case 'u': /* Don't recode the fortune */
No_recode = true;
break;
--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Path::Tiny qw/ path /;
+
+use Test::More tests => 1;
+
+sub check_file
+{
+ my ($fn) = @_;
+ my @l = path($fn)->lines_utf8;
+ if ( @l < 4 )
+ {
+ return "too few lines";
+ }
+ return "";
+}
+
+sub mytest
+{
+ foreach my $fn ("rinutils/rinutils/include/rinutils/portable_time.h")
+ {
+ my $err = check_file("$ENV{SRC_DIR}/${fn}");
+ if ( $err ne '' )
+ {
+ fail("$fn failed - $err.");
+ return;
+ }
+ }
+ pass("All are ok.");
+}
+
+# TEST
+mytest();
uint32_t str_longlen; /* length of longest string */
uint32_t str_shortlen; /* length of shortest string */
#define STR_RANDOM 0x1 /* randomized pointers */
-#define STR_ORDERED 0x2 /* ordered pointers */
-#define STR_ROTATED 0x4 /* rot-13'd text */
+#define STR_ORDERED 0x2 /* ordered pointers */
+#define STR_ROTATED 0x4 /* rot-13'd text */
uint32_t str_flags; /* bit field for flags */
uint8_t stuff[4]; /* long aligned space */
#define str_delim stuff[0] /* delimiting character */