summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-11-24Pull from master repo:Stefan Kempf
More missing newlines.
2007-11-24Add newline after comment. The following instruction would not beStefan Kempf
recognized by the assembler otherwise.
2007-11-22Pull from master repo:Stefan Kempf
Kill two useless assignments. ok ragge@ some time ago
2007-11-22Pull from master repo:Stefan Kempf
Fix the other rule that did not load small negative 64-bit constants correctly. The error shows up if you compile main(){long long = -1;} with -xtemps.
2007-11-22.Nm does not require an argument; from Mark LumsdenJason McIntyre
2007-11-22Pull from master repo:Stefan Kempf
Put the genswitch() code that is found in most backends into the MI part. The backend version is renamed to mygenswitch() and can provide improved translations for switch statements. Improved implementation of the switch constraints/semantics described in the standard. ok ragge@, otto@ With help and comments from ragge and gmcgarry
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few
2007-11-19Pull from master repo:Stefan Kempf
>Fix type conversion problems observed by stefan@ >Some other typos too. and >- Add rules for conversion from (u)long long to (u){char,short,int} >- Fix loading ushorts from mem. They don't need to be sign-extended. >- Fix a rule that didn't load small negative 64-bit values into > registers correctly (there's at least one more of it left). >- Add $Id$ > >ok gmcgarry, otto
2007-11-18(Large) update from master repo:Anders Magnusson
> Use structure assignment instead of calling memcpy directly in struct return. > Rewrite enum handling. > In C99 enums are treated like INTs so convert them early to int. > Move the enum tag handling out of defid(), tags are in their own namespace. > This will be done with struct/union tags also. > Comment out enum types. > Remove ENUMTY/MOETY from target code.
2007-11-18simplify, no sense to break just to do return afterwardsMarc Espie
2007-11-17Use mtimespec instead of mtime when comparing the timestamp of the editedTodd C. Miller
file. OK miod@
2007-11-17simplify dynamic variable handling a great deal:Marc Espie
first remove all usage of Varq_Append by building the string directly. then replace `common' handling with specialized handling for dynamic strings (since they no longer need a buffer). Finally, identify the place where the variable value needs to be copied because it's going to be free'd or erased soon, and finally, use simple char* pointers. Shaves about 80 bytes off every gnode structure, and kills quite a few unnecessary malloc()s as well.
2007-11-17.PHONY targets should not look at files.Marc Espie
2007-11-17strings.h is obsolete; include string.hOtto Moerbeek
2007-11-17Convert file_rcsrev earlier into a string, else revbuf can be printedTobias Stoeckmann
without initialisation.
2007-11-17Updates from master repo:Anders Magnusson
Replace ugly target macros with function calls (gmcgarry).
2007-11-17Updates from master repo:Anders Magnusson
Remove function arg conversions from clocal().
2007-11-17.IP -> .PpJason McIntyre
2007-11-17do not try to keep a list of all possible displays in the introduction.Jason McIntyre
the page already does this in detail, and this list just goes out of date. problem spotted by Mark Lumsden
2007-11-17read only .depend if !make(depend)Marc Espie
On the basis that: - .depend is a bsd extension anyways, changing its semantics doesn't affect posix compliance. - it may allow regenerating broken .depend files without needing to remove them. approved by miod@, millert@, deraadt@.
2007-11-17document interactive command `q'; from Mark LumsdenJason McIntyre
2007-11-17oops - fix dodgy -width specifier too;Jason McIntyre
2007-11-17talk about "user" consistently; from Mark LumsdenJason McIntyre
2007-11-16spacingTheo de Raadt
2007-11-16- Fix error handling code.Mike Belopuhov
- Change some function names to conform with Core Duo names. - Correct hadnling of the functions that need non-zero Unit Mast specification. - Some other random cleanup.
2007-11-16hppa backend; does not build yet suince it needs some mi changesOtto Moerbeek
2007-11-16sync tree with master repo; Nov 16 2007Otto Moerbeek
2007-11-16sync with repo and brink in hppa backend from mickey. afaik, it needsOtto Moerbeek
some changes in the mi parts that are not yet committed
2007-11-16sync with repe; commit from gmcgarry@:Otto Moerbeek
Bring MIPS support fully up-to-date. Includes the following changes: Support use of different assemblers. Handle big-endian and little-endian code generation. Start support for n32/n64 PIC code generation Update to arguments-in-registers infrastructure. Cleanup handling of branches. Fix register coloring Fix structure assignment. Add longlong instructions Remove unused functions. Indentation fixes. Tested on NetBSD/pmax (little endian).
2007-11-13move xpg4 notes into STANDARDS; ok ottoJason McIntyre
2007-11-12make TOC greppable;Jason McIntyre
2007-11-11Mention that -cd and -cu are possible, and that it's an extension to POSIX.Matthias Kilian
discussed with jmc and otto ok jmc
2007-11-11Max. 80 chars per line in rcs_kwexp_line. Saved a tab by redoingTobias Stoeckmann
for (...) { if (something) { ... } } into for (...) { if (!something) continue; ... } All other lines which were still too long have been splitted up. No functional change (beside of if-statement).
2007-11-11Do not (re)expand CVS keywords if it is requested to keep old keywords.Tobias Stoeckmann
2007-11-11CVS/Entries needs at least one line specifying a 'D'irectory. If theTobias Stoeckmann
current directory has subdirectories, there is no need to apply another 'D' line. Sticks at GNU cvs behaviour.
2007-11-11Added CVS keyword "Locker". Although it is a dummy function, it's alreadyTobias Stoeckmann
enough for OpenBSD's src/.
2007-11-11If a file has modifications in it (i.e. cvs update on modified files),Tobias Stoeckmann
reapply umask as done with unmodified files. Sticks at GNU cvs behaviour.
2007-11-11Apply umask on RCS file modes. The umask can be changed in CVSROOT/configTobias Stoeckmann
and should therefore be handled.
2007-11-10Pull from master repo:Stefan Kempf
++ and -- are not allowed in preprocessor expressions. Based on a diff by Jan Kryl. ok ragge@, otto@
2007-11-10Pull from master repo:Stefan Kempf
Get rid of ifdef'd out code. Replace nodup() call with equivalent code at its only invocation. ok ragge@, otto@
2007-11-10UNMADE -> UNKNOWNMarc Espie
2007-11-10clearer debug codeMarc Espie
2007-11-10rename make -> must_make, made -> built_statusMarc Espie
to make them easier to find in source files.
2007-11-10Pull from master repo:Stefan Kempf
Include string.h. ok ragge@, otto@
2007-11-09Allow -c in conjunction with -d (and -u).Matthias Kilian
If field skipping is active, don't skip beyond the last non-blank of a field, and use isblank() instead of isspace() -- POSIX states that the longest string matching [[:blank:]]*[^[:blank:]]* makes up a field. Don't skip over trailing newlines. Help, testing and ok millert@
2007-11-09Parse CVSROOT/config and set umask on server-side, too.Tobias Stoeckmann
2007-11-09Fix for a rather unintuitive behaviour, this way it can be reproduced:Tobias Stoeckmann
cvs checkout src/sbin/swapon cvs checkout -rHEAD src/sbin/swapon If no date or revision has been supplied, swapon.8 won't be checked out, but if a revision (even if it is HEAD) or a date (-D) has been supplied, swapon.8 will be checked out due to modifications in Attic/ after it has been removed from tree.
2007-11-09An umask is octet not decimal. This means we cannot use strtonum() toTobias Stoeckmann
parse it due to base 10. Instead strtol() with base 8 must be used.
2007-11-08Stick at GNU cvs output format of docdate.Tobias Stoeckmann
OK niallo@
2007-11-08Return latest revision of default branch when HEAD is requested and noTobias Stoeckmann
newer revisions are available (for example multiple imports). Reported by ckuethe@, OK niallo@