Changeset: a2c19671c9fb for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2c19671c9fb Modified Files: common/stream/stdio_stream.c Branch: makelibstreamgreatagain Log Message:
S_ISREG does not exist on Windows diffs (12 lines): diff --git a/common/stream/stdio_stream.c b/common/stream/stdio_stream.c --- a/common/stream/stdio_stream.c +++ b/common/stream/stdio_stream.c @@ -420,7 +420,7 @@ stdin_rastream(void) struct stat stb; if (fstat(fileno(stdin), &stb) < 0) break; - if (!S_ISREG(stb.st_mode)) + if ((stb.st_mode & S_IFMT) != S_IFREG) break; fpos_t pos; if (fgetpos(stdin, &pos) != 0) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list