1b4fbb7092
https://github.com/att/ast/issues/1464 and https://github.com/att/ast/issues/1466. The reason for the rewind back to 93u+ instead of 93v- was that it was an abandoned unstable buggy unfinished beta. A full explanation of this can be found here, https://github.com/att/ast/issues/1466#issuecomment-589942449. The version number is reverted back to 93u and an EPOCH bump, though not needed, documents this siesmic shift.
36 lines
701 B
Text
36 lines
701 B
Text
--- src/lib/libast/features/mmap.orig 2020-02-08 10:39:38.000000000 -0800
|
|
+++ src/lib/libast/features/mmap 2020-02-08 20:49:37.791733000 -0800
|
|
@@ -16,14 +16,7 @@
|
|
|
|
#define Failed(file) (remove(file),1)
|
|
|
|
- int
|
|
- #if _STD_
|
|
- main(int argc, char** argv)
|
|
- #else
|
|
- main(argc,argv)
|
|
- int argc;
|
|
- char** argv;
|
|
- #endif
|
|
+ int main(int argc, char** argv)
|
|
{
|
|
caddr_t mm;
|
|
char *t, *u, *f;
|
|
@@ -326,17 +319,12 @@
|
|
cat{
|
|
|
|
/* some systems get it wrong but escape concise detection */
|
|
- #ifndef _NO_MMAP
|
|
#if __CYGWIN__
|
|
#define _NO_MMAP 1
|
|
#endif
|
|
- #endif
|
|
|
|
#if _NO_MMAP
|
|
#undef _lib_mmap
|
|
#undef _lib_mmap64
|
|
- #undef _mmap_anon
|
|
- #undef _mmap_devzero
|
|
- #undef _mmap_worthy
|
|
#endif
|
|
}end
|