Skip to content

Commit

Permalink
Version: 2016-01-10-beta
Browse files Browse the repository at this point in the history
RELEASE notes for src/cmd/builtin/RELEASE

16-01-06 added dummy code in builtin.c to keep the linker from optimizing it out

RELEASE notes for src/lib/libast/RELEASE

16-01-08 features/lib: fixed syntax error in tst for memccpy that caused the system memccpy to never be used

RELEASE notes for src/lib/libexpr/RELEASE

16-01-06 expr.h: modified definition of EXSTYPE to deal with bison/yacc versions
  • Loading branch information
Lefteris Koutsofios authored and siteshwar committed Nov 30, 2017
1 parent dc9a3f2 commit 2f2b1b8
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 9 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
AST
===

This is the AT&T Software Technology ast software download site from AT&T Research.
The AT&T AST OpenSource Software Collection provides an overview and Practical Reusable
UNIX Software provides a historical perspective.
You can join the ast and uwin mailgroups, or monitor the mail archives.
There is also an AT&T internal talk.
The man page index contains most of the ast commands and library functions;
command man pages are also available at runtime using the --man or --html option of any ast command.
This is the AT&T Software Technology (AST) toolkit from AT&T Research.
It includes many tools and libraries, like KSH, NMAKE, SFIO, VMALLOC, VCODEX,
etc. It also includes more efficient replacements for a lot of the POSIX tools.
It was designed to be portable across many UNIX systems and also works
under UWIN on Microsoft Windows (see UWIN repo on GitHub under att/uwin).

This software is used to build itself, using NMAKE.
After cloning this repo, cd to the top directory of it and run:

./bin/package make

Almost all the tools in this package (including the bin/package script are
self-documenting; run <tool> --man (or --html) for the man page for the tool.

(If you were used to the old AST packaging mechanism, on www.research.att.com,
this repo is equivalent to downloading the INIT and ast-open packages and
running: ./bin/package read on them).
1 change: 1 addition & 0 deletions src/cmd/builtin/RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
16-01-06 added dummy code in builtin.c to keep the linker from optimizing it out
14-02-06 grep.tst: add more --context=... tests
13-12-05 ls.tst: move from src/cmd/std
13-09-25 cksum.tst: adjust tests for gnu { md5 sha } text/binary indicator
Expand Down
5 changes: 5 additions & 0 deletions src/cmd/builtin/builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@
*/

#include <cmd.h>

// added to prevent the linker from optimizing this whole file out
int _foo_bar (void) {
sfprintf (sfstderr, "");
}
1 change: 1 addition & 0 deletions src/lib/libast/RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
16-01-08 features/lib: fixed syntax error in tst for memccpy that caused the system memccpy to never be used
14-05-12 features/lib: mmap() error return may be ((caaddr_t)0) or ((caaddr_t)-1)
14-05-09 misc/optget.c: save opt_info state in case infof callout munges it
14-04-15 misc/spawnvex.c: fix nil pointer deref
Expand Down
2 changes: 1 addition & 1 deletion src/lib/libast/features/lib
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ tst lib_memccpy string.h unistd.h stdlib.h fcntl.h signal.h sys/types.h sys/stat
srcbuf = (char*)mmap(NULL, siz, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
if (srcbuf == (caddr_t)0 || srcbuf == (caddr_t)(-1))
return 0;
addbuf i= mmap(srcbuf + siz, siz, PROT_NONE, MAP_PRIVATE, fd, 0);
addbuf = mmap(srcbuf + siz, siz, PROT_NONE, MAP_PRIVATE, fd, 0);
if (addbuf == (caddr_t)0 || addbuf == (caddr_t)(-1))
return 0;
for (i = 0; i < siz; i++)
Expand Down
1 change: 1 addition & 0 deletions src/lib/libexpr/RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
16-01-06 expr.h: modified definition of EXSTYPE to deal with bison/yacc versions
12-09-16 exeval.c: one more scanf("%[... fix
12-07-18 exgram.h,exeval.c: handle scanf("%[^\n]", &v) -- thanks Philippe
11-08-25 exparse.y: fix "begin()" frame symbol table check
Expand Down
7 changes: 6 additions & 1 deletion src/lib/libexpr/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,17 @@
* bison -pPREFIX misses YYSTYPE
*/

// modified ifdefs to deal with different versions of yacc / bison
#if defined(YYSTYPE) || defined(YYBISON)
#define EXSTYPE YYSTYPE
#else
#include <exparse.h>
#if defined(YYSTYPE) || defined(yystype)
#define EXSTYPE YYSTYPE
#define EXSTYPE YYSTYPE
#else
#if defined(YYSTYPE) || defined(YYSTYPE_IS_DECLARED)
#define EXSTYPE YYSTYPE
#endif
#endif
#endif

Expand Down

0 comments on commit 2f2b1b8

Please sign in to comment.