⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 早期freebsd实现
💻
📖 第 1 页 / 共 3 页
字号:
More VMS updates -- also nuke vms/version.com.Fixed bug in handling of large numbers of redirections -- it was probably never  tested before (blush!).Minor rearrangement of code in r_force_number().Made chem and regtest tests a bit more portable (Ultrix again).Added another test -- manyfiles -- not invoked under any other test -- very Unix  specific.Rough beginning of LIMITATIONS file -- need my AWK book to complete it.Changes from 2.12.32 to 2.12.33-------------------------------Expunge debug.? from various files.Remove vestiges of Floor and Ceil kludge.Special case integer division -- mainly for Cray, but maybe someone else  will benefit.Workaround for iop_close closing an output pipe descriptor on Cray --  not conditional since I think it may fix a bug on SGI as well and I don't  think it can hurt elsewhere.Fixed memory leak in assoc_lookup().Small cleanup in test suite.Changes from 2.12.31 to 2.12.32-------------------------------Nuked debug.c and debugging flag -- there are better ways.Nuked version.sh and version.c in subdirectories.Fixed bug in handling of IGNORECASE.Fixed bug when FIELDWIDTHS was set via -v option.Fixed (obscure) bug when $0 is assigned a numerical value.Fixed so that escape sequences in command-line assignments work (as it already  said in the comment).Added a few cases to test suite.Moved support/* back into distribution.VMS updates.Changes from 2.12.30 to 2.12.31-------------------------------Cosmetic manual page changes.Updated sunos3 config.Small changes in test suite including renaming files over 14 chars. in length.Changes from 2.12.29 to 2.12.30-------------------------------Bug fix for many string concatenations in a row.Changes from 2.12.28 to 2.12.29-------------------------------Minor cleanup in awk.yMinor VMS update. Minor atari update.Changes from 2.12.27 to 2.12.28-------------------------------Got rid of the debugging goop in eval.c -- there are better ways.Sequent port.VMS changes left out of the last patch -- sigh!  config/vms.h renamed  to config/vms-conf.h.Fixed missing/tzset.cRemoved use of gcvt() and GCVT_MISSING -- turns out it was no faster than  sprintf("%g") and caused all sorts of portability headaches.Tuned get_field() -- it was unnecessarily parsing the whole record on reference  to $0.Tuned interpret() a bit in the rule_node loop.In r_force_number(), worked around bug in Uglix strtod() and got rid of   ugly do{}while(0) at Michal's urging.Replaced do_deref() and deref with unref(node) -- much cleaner and a bit faster.Got rid of assign_number() -- contrary to comment, it was no faster than  just making a new node and freeing the old one.Replaced make_number() and tmp_number() with macros that call mk_number().Changed freenode() and newnode() into macros -- the latter is getnode()  which calls more_nodes() as necessary.Changes from 2.12.26 to 2.12.27-------------------------------Completion of Cray 2 port (includes a kludge for floor() and ceil()  that may go or be changed -- I think that it may just be working around  a bug in chem that is being tweaked on the Cray).More VMS updates.Moved kludge over yacc's insertion of malloc and realloc declarations  from protos.h to the Makefile.Added a lisp interpreter in awk to the test suite.  (Invoked under  bigtest.)Cleanup in r_force_number() -- I had never gotten around to a thorough  profile of the cache code and it turns out to be not worth it.Performance boost -- do lazy force_number()'ing for fields etc. i.e.  flag them (MAYBE_NUM) and call force_number only as necessary.Changes from 2.12.25 to 2.12.26-------------------------------Rework of regexp stuff so that dynamic regexps have reasonable  performance -- string used for compiled regexp is stored and  compared to new string -- if same, no recompilation is necessary.  Also, very dynamic regexps cause dfa-based searching to be turned  off.Code in dev_open() is back to returning fileno(std*) rather than  dup()ing it.  This will be documented.  Sorry for the run-around  on this.Minor atari updates.Minor vms update.Missing file from MSDOS port.Added warning (under lint) if third arg. of [g]sub is a constant and  handle it properly in the code (i.e. return how many matches).Changes from 2.12.24 to 2.12.25-------------------------------MSDOS port.Non-consequential changes to regexp variables in preparation for  a more serious change to fix a serious performance problem.Changes from 2.12.23 to 2.12.24-------------------------------Fixed bug in output flushing introduced a few patches back.  This caused  serious performance losses.Changes from 2.12.22 to 2.12.23-------------------------------Accidently left config/cray2-60 out of last patch.Added some missing dependencies to Makefile.Cleaned up mkconf a bit; made yacc the default parser (no alloca needed,  right?); added rs6000 hook for signed characters.Made regex.c with NO_ALLOCA undefined work.Fixed bug in dfa.c for systems where free(NULL) bombs.Deleted a few cant_happen()'s that *really* can't hapen.Changes from 2.12.21 to 2.12.22-------------------------------Added to config stuff the ability to choose YACC rather than bison.Fixed CHAR_UNSIGNED in config.h-dist.Second arg. of strtod() is char ** rather than const char **. stackb is now initially malloc()'ed since it may be realloc()'ed.VMS updates.Added SIZE_T_MISSING to config stuff and a default typedef to awk.h.  (Maybe it is not needed on any current systems??)re_compile_pattern()'s size is now size_t unconditionally.Changes from 2.12.20 to 2.12.21-------------------------------Corrected missing/gcvt.c.Got rid of use of dup2() and thus DUP_MISSING.Updated config/sgi33.Turned on (and fixed) in cmp_nodes() the behaviour that I *hope* will be in  POSIX 1003.2 for relational comparisons.Small updates to test suite.Changes from 2.12.19 to 2.12.20-------------------------------Sloppy, sloppy, sloppy!!  I didn't even try to compile the last two  patches.  This one fixes goofs in regex.c.Changes from 2.12.18 to 2.12.19-------------------------------Cleanup of last patch.Changes from 2.12.17 to 2.12.18-------------------------------Makefile renamed to Makefile-dist.Added alloca() configuration to mkconf.  (A bit kludgey.)  Just  add a single line containing ALLOCA_PW, ALLOCA_S or ALLOCA_C  to the appropriate config file to have Makefile-dist edited  accordingly.Reorganized output flushing to correspond with new semantics of  devopen() on "/dev/std*" etc.Fixed rest of last goof!!Save and restore errno in do_pathopen().Miscellaneous atari updates.Get rid of the trailing comma in the NODETYPE definition (Cray  compiler won't take it).Try  to make the use of `const' consistent since Cray compiler is  fussy about that.  See the changes to `basename' and `myname'.It turns out that, according to section 3.8.3 (Macro Replacement)  of the ANSI Standard:  ``If there are sequences of preprocessing  tokens within the list of arguments that would otherwise act as  preprocessing directives, the behavior is undefined.''  That means  that you cannot count on the behavior of the declaration of  re_compile_pattern in awk.h, and indeed the Cray compiler chokes on it.Replaced alloca with malloc/realloc/free in regex.c.  It was much simpler  than expected.  (Inside NO_ALLOCA for now -- by default no alloca.)Added a configuration file, config/cray60, for Unicos-6.0.Changes from 2.12.16 to 2.12.17-------------------------------Ooops.  Goofed signal use in last patch.Changes from 2.12.15 to 2.12.16-------------------------------RENAMED *_dir to just * (e.g. missing_dir).Numerous VMS changes.Proper inclusion of atari and vms files.Added experimental (ifdef'd out) RELAXED_CONTINUATION and DEFAULT_FILETYPE -- please comment on these!Moved pathopen() to io.c (sigh).Put local directory ahead in default AWKPATH.Added facility in mkconf to echo comments on stdout:  lines beginning  with "#echo " will have the remainder of the line echoed when mkconf is run.  Any lines starting with "#" will otherwise be treated as comments.  The  intent is to be able to say:  "#echo Make sure you uncomment alloca.c in the Makefile"  or the like.Prototype fix for V.4Fixed version_string to not print leading @(#).Fixed FIELDWIDTHS to work with strict (turned out to be easy).Fixed conf for V.2.Changed semantics of /dev/fd/n to be like on real /dev/fd.Several configuration and updates in the makefile.Updated manpage.Include tzset.c and system.c from missing_dir that were accidently left out of  the last patch.Fixed bug in cmdline variable assignment -- arg was getting freed(!) in  call to variable.Backed out of parse-time constant folding for now, until I can figure out  how to do it right.Fixed devopen() so that getline <"-" works.Changes from 2.12.14 to 2.12.15-------------------------------Changed config/* to a condensed form that can be used with mkconf to generate  a config.h from config.h-dist -- much easier to maintain.  Please chaeck  carefully against what you had before for a particular system and report  any problems.  vms.h remains separate since the stuff at the bottom  didn't quite fit the mkconf model -- hopefully cleared up later.Fixed bug in grammar -- didn't allow function definition to be separated from   other rules by a semi-colon.VMS fix to #includes in missing.c -- should we just be including awk.h?Updated README for texinfo.tex version.Updating of copyright in all .[chy] files.Added but commented out Michal's fix to strftime.Added tzset() emulation based on Rick Adams' code.  Added TZSET_MISSING to	config.h-dist.Added strftime.3 man page for missing_dirMore posix:	func, **, **= don't work in -W posixMore lint:	^, ^= not in old awkgawk.1:		removed ref to -DNO_DEV_FD, other minor updating.Style change:  pushbak becomes pushback() in yylex().Changes from 2.12.13 to 2.12.14-------------------------------Better (?) organization of awk.h -- attempt to keep all system dependencies  near the top and move some of the non-general things out of the config.h  files.Change to handling of SYSTEM_MISSING.Small change to ultrix config.Do "/dev/fd/*" etc. checking at runtime.First pass at VMS port.Improvements to error handling (when lexeme spans buffers).Fixed backslash handling -- why didn't I notice this sooner?Added programs from book to test suite and new target "bigtest" to Makefile.Changes from 2.12.12 to 2.12.13-------------------------------Recognize OFS and ORS specially so that OFS = 9 works without efficiency hit.  Took advantage of opportunity to tune do_print*() for about 10% win on a  print with 5 args (i.e. small but significant).Somewhat pervasive changes to reconcile CONVFMT vs. OFMT.Better initialization of builtin vars.Make config/* consistent wrt STRTOL_MISSING.Small portability improvement to alloca.sImprovements to lint code in awk.yReplaced strtol() with a better one by Chris Torek.Changes from 2.12.11 to 2.12.12-------------------------------Added PORTS file to record successful ports.Added #define const to nothing if not STDC and added const to strtod() header.Added * to printf capabilities and partially implemented ' ' and '+' (has an  effect for %d only, silently ignored for other formats).  I'm afraid that's  as far as I want to go before I look at a complete replacement for  do_sprintf().Added warning for /regexp/ on LHS of MATCHOP.Changes from 2.12.10 to 2.12.11-------------------------------Small Makefile improvements.Some remaining nits from the NeXT port.Got rid of bcopy() define in awk.h -- not needed anymore (??)Changed private in builtin.c -- it is special on Sequent.Added subset implementation of strtol() and STRTOL_MISSING.A little bit of cleanup in debug.c, dfa.c.Changes from 2.12.9 to 2.12.10------------------------------Redid compatability checking and checking for # of args.Removed all references to variables[] from outside awk.y, in preparation  for a more abstract interface to the symbol table.Got rid of a remaining use of bcopy() in regex.c.Changes from 2.12.8 to 2.12.9-----------------------------Portability improvements for atari, next and decstation.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -