aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'long int' with 'int' for Alpha.Hidetoshi Shimokawa1999-01-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change should have no effect on i386. Pointed out by: Steve Kargl <sgk@troutmask.apl.washington.edu> Quote from http://www.netlib.org/f2c/readme: NOTE: f2c.h defines several types, e.g., real, integer, doublereal. The definitions in f2c.h are suitable for most machines, but if your machine has sizeof(double) > 2*sizeof(long), you may need to adjust f2c.h appropriately. f2c assumes sizeof(doublecomplex) = 2*sizeof(doublereal) sizeof(doublereal) = sizeof(complex) sizeof(doublereal) = 2*sizeof(real) sizeof(real) = sizeof(integer) sizeof(real) = sizeof(logical) sizeof(real) = 2*sizeof(shortint) EQUIVALENCEs may not be translated correctly if these assumptions are violated. On machines, such as those using a DEC Alpha processor, on which sizeof(short) == 2, sizeof(int) == sizeof(float) == 4, and sizeof(long) == sizeof(double) == 8, it suffices to modify f2c.h by removing the first occurrence of "long " on each line containing "long ", e.g., by issuing the commands mv f2c.h f2c.h0 sed 's/long //' f2c.h0 >f2c.h On such machines, one can enable INTEGER*8 by uncommenting the typedef of longint in f2c.h, so it reads typedef long longint; by compiling libI77 with -DAllow_TYQUAD, and by adjusting libF77/makefile as described in libF77/README. Notes: svn path=/head/; revision=42825
* Fixed breakage of `make checkdpadd' in previous commit.Bruce Evans1999-01-191-4/+4
| | | | | | | | | | | | | Didn't fix related bogotification from moving the definitions of DPADD and LDADD to here. Setting these variables in a top-level directory gives bogus dependencies in library subdirectories. E.g., there is a dependency on `foo.so..' where the double dots separate null shared library version numbers. Set BINDIR properly by inheriting it from ../Makefile.inc. Notes: svn path=/head/; revision=42821
* "19%02", tm.year -> "%d", tm.year+1900Daniel O'Callaghan1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42816
* Allow two digit years 1969-2068Daniel O'Callaghan1999-01-181-3/+6
| | | | Notes: svn path=/head/; revision=42815
* Fix "make world" breakage because MT_RTABLE was still referenced here.Ollivier Robert1999-01-181-1/+3
| | | | Notes: svn path=/head/; revision=42800
* Update to Global-3.42.Hidetoshi Shimokawa1999-01-186-30/+28
| | | | Notes: svn path=/head/; revision=42792
* Don't use ip_mrtproto to determine whether multicast routing is inBill Fenner1999-01-183-83/+32
| | | | | | | | | | | the kernel; this was left over from the earlier protocol-dependent kernel multicast routing code. Learn how to handle the malloc'd multicast routing table (instead of expecting it to be in mbufs) Notes: svn path=/head/; revision=42778
* Fix logic error in RFC 850 kluge.Garrett Wollman1999-01-151-3/+4
| | | | Notes: svn path=/head/; revision=42703
* For RFC 850 dates received in HTTP responses, implement the century pivotGarrett Wollman1999-01-152-4/+48
| | | | | | | described in RFC 2068. Include a reference to same in the manual page. Notes: svn path=/head/; revision=42702
* Typo.Jean-Marc Zucconi1999-01-152-4/+4
| | | | Notes: svn path=/head/; revision=42683
* Allocate aligned memory according to sizeof(char *).Hidetoshi Shimokawa1999-01-131-2/+2
| | | | | | | | Approved by: jkh Obtained from: NetBSD Notes: svn path=/head/; revision=42625
* Move nologin from /etc to /var/run. This means one less file that hasSatoshi Asami1999-01-111-3/+3
| | | | | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version) Notes: svn path=/head/; revision=42515
* From the submitter:Doug Rabson1999-01-101-2/+2
| | | | | | | | | | | | | I found the reason why f77 so offen dies on alpha. Here is a fix. "Const" is a union of int and double. If nelt->constblock.Const.ci > 0 then it trys to evaluate it as double and floating point exception occurs. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Obtained from: NetBSD Notes: svn path=/head/; revision=42483
* Fix the annoying bug introduced in rev 1.18 that caused each line to bePeter Wemm1999-01-102-13/+15
| | | | | | | | | | | | | | | | | | | one character shorter than the previous in a stairstep fashion when long idle times were involved. A couple of nits: - spelling/typo fix. - some of the easier style(9) fixes where it was bothering me. - Handle 100+ days idle time (ha!). Probably the right thing to do is to do a snprintf into a buffer and strlen the result rather than doing hackery on magic numbers. XXX the wide (and mostly unused) username and tty columns annoy me since it it could be used for more useful information for the command. We should actually count the largest username and tty and adjust like 'ls -l' does. Notes: svn path=/head/; revision=42481
* uptime display more in style with original codeDavid E. O'Brien1999-01-091-1/+19
| | | | Notes: svn path=/head/; revision=42447
* revert to rev 1.29. (floppy drives will be gotten rid of another way)David E. O'Brien1999-01-091-10/+1
| | | | Notes: svn path=/head/; revision=42425
* Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PEWarner Losh1999-01-091-27/+99
| | | | | | | | file types. Also add bit interpretation from NetBSD to give more details about the file. Notes: svn path=/head/; revision=42416
* Don't allow pointer underrun in loop.Jordan K. Hubbard1999-01-081-2/+4
| | | | | | | Spotted by: John W. DeBoskey <jwd@unx.sas.com> Notes: svn path=/head/; revision=42409
* Merge from 2_2 man page change.Daniel O'Callaghan1999-01-052-2/+2
| | | | Notes: svn path=/head/; revision=42310
* PR: 9323Daniel O'Callaghan1999-01-051-1/+4
| | | | | | | | | Submitted by: ishisone@sra.co.jp Make touch handle years 2000-2038 in the obsoleted format, rather than 1902-1969 as was previously the case with two digit year spec. Notes: svn path=/head/; revision=42307
* Backed out previous commit. The bug was in rev.1.49 of src/Makefile.inc1,Bruce Evans1999-01-041-1/+1
| | | | | | | | | | | | | so it can't be completely fixed here. Putting -I paths to the current headers in CFLAGS is more likely to break things than fix them, since there is no reason why current headers should work with old libraries. Other Makefiles that do this may only work because they are not used early in the bootstrap. However, the usual problem with errno being defined in terms of a nonexistent library doesn't seem to occur here, since we don't reference errno. Notes: svn path=/head/; revision=42286
* Fix a build problem when upgrading from 9 month old sources. There'sChuck Robey1999-01-041-1/+1
| | | | | | | | | | | | | a circular dependency problem, wherein rpcgen depends on the latest includes, but those same includes depend on rpcgen to build include/rpcsvc. This was causing the build or librpcsvc to fail (like I said, only on upgrades of 9 month old sources). If there's stylistic problems, tell me, I'll learn and fix them. I did a buildworld with this, it should be safe. Notes: svn path=/head/; revision=42275
* Make the timeout handler log any failed logins, to make sure failedEivind Eklund1999-01-031-7/+17
| | | | | | | logins get logged. Notes: svn path=/head/; revision=42272
* Typo - "the -delete primary do not.." -> "the -delete primary does not.."Bill Fumerola1998-12-311-2/+2
| | | | | | | | PR: docs/9255 Submitted by: Christian Weisgerber <naddy@bigeye.rhein-neckar.de> Notes: svn path=/head/; revision=42212
* Add copyright and RCS/CVS Id.David E. O'Brien1998-12-271-0/+28
| | | | | | | Noticed by: ken Notes: svn path=/head/; revision=42106
* Update section on DK_NDRIVES (which was removed with CAM), and explainDavid E. O'Brien1998-12-271-9/+10
| | | | | | | | | relation to devstat(3)/(9). Submitted-by: ken@freebsd.org Notes: svn path=/head/; revision=42105
* Turn the compile time option into a run-time option.David E. O'Brien1998-12-272-7/+10
| | | | | | | | | You can now use the `want_fd' command in the vmstat display. Suggested by: grog Notes: svn path=/head/; revision=42094
* Don't waste precious space on showing the performance of fdX.David E. O'Brien1998-12-271-1/+9
| | | | | | | (can get old behavior with -DWANT_FD) Notes: svn path=/head/; revision=42072
* No __profname bozoness, no strstr() bozoness... test argv[0] againstMatthew Dillon1998-12-241-4/+21
| | | | | | | "uptime" the right way. Sheesh. Notes: svn path=/head/; revision=42055
* Since argv is in scope, use argv[0] instead of __progname.Steve Price1998-12-241-2/+2
| | | | | | | Suggested by: bde Notes: svn path=/head/; revision=42050
* Print out latched cdb's correlated to latched errors in MTIOCERRSTAT case.Matt Jacob1998-12-221-1/+13
| | | | | | | | Complete the addition of the setmark support (from Martin.Birgmeier@aon.at). Notes: svn path=/head/; revision=42010
* Flush the output file before exiting; short-lived programs don't even fillMike Smith1998-12-211-1/+2
| | | | | | | the stdio buffer. Notes: svn path=/head/; revision=41970
* Fixed typo.Foxfair Hu1998-12-201-1/+1
| | | | Notes: svn path=/head/; revision=41949
* add in new errstat subcommand (MTIOCSERRSTAT)Matt Jacob1998-12-191-2/+33
| | | | Notes: svn path=/head/; revision=41945
* Made changes suggested by bruce, plus a couple of others which made -Wall work.Matt Jacob1998-12-181-11/+17
| | | | | | | Obtained from:bde@freebsd.org Notes: svn path=/head/; revision=41925
* Unbreak K&R support, and generate code that works in K&R C as well asDag-Erling Smørgrav1998-12-181-20/+12
| | | | | | | ANSI C no matter what language is specified. Notes: svn path=/head/; revision=41922
* 1) Clarify that a weof count of zero is allowed (flush buffers).Matt Jacob1998-12-181-1/+30
| | | | | | | | 2) Add in the set of {sethpos,setspos,rdhpos,rdspos) commands to implement the Hardware && SCSI Logical Block position ioctls. Notes: svn path=/head/; revision=41913
* Free memory from setmode.Warner Losh1998-12-161-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=41847
* Return memory from setmode.Warner Losh1998-12-161-0/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=41846
* The perlinterp option builds and works, but I'm not so sure how it'll goPeter Wemm1998-12-161-5/+6
| | | | | | | in a release or buildworld environment, so I'll leave it disabled. Notes: svn path=/head/; revision=41840
* Generate a prototype for initialize_XXXX_error_table() when the languageDag-Erling Smørgrav1998-12-151-3/+3
| | | | | | | is set to C. Notes: svn path=/head/; revision=41819
* Add "-N" option to supress reverse name lookup.Bill Fumerola1998-12-145-3/+12
| | | | | | | | | | This comes in really handy when you're telneting the broken DNS server by IP. PR: bin/8698 Notes: svn path=/head/; revision=41805
* Added support for DIS 8859-15 based locales using patchMatthew Dillon1998-12-142-1/+53
| | | | | | | | | from Kaleb. Obtained from: Kaleb Keithley <kaleb@ics.com> Notes: svn path=/head/; revision=41760
* Change the wording to reflect that only the first character of the twoSteve Price1998-12-131-2/+2
| | | | | | | | | arguments to changequote are significant. PR: 8282 Notes: svn path=/head/; revision=41743
* Fixed disordering of cross references in previous commit.Bruce Evans1998-12-131-3/+3
| | | | Notes: svn path=/head/; revision=41730
* PR: bin/9016Matthew Dillon1998-12-131-3/+8
| | | | | | | | | | | | Fix bug with od/hd/hexdump. "*" lines are supposed to indicate one or duplicates of the previous line, but a small file with less then 16 characters of zeros in it will be falsy identified as a repeat of the (non-existant) previous line. i.e. the first line of output winds up being a "*". Added a bit of code to handle the degenerate 'there is no previous line' case for the first line. Notes: svn path=/head/; revision=41724
* PR: bin/8680Matthew Dillon1998-12-131-4/+3
| | | | | | | | Minor adjustments to rwall.c. Increased the size of a couple of char arrays and replaced a potentially dangeerous strcpy/strcat with snprintf(). Notes: svn path=/head/; revision=41718
* PR: bin/8680Matthew Dillon1998-12-131-6/+8
| | | | | | | | | Increase the size of a number of buffers and replace strcpy/strcat/sprintf with snprintf(). There was a minor and possibly not exploitable security hole related to one sprintf(). Notes: svn path=/head/; revision=41717
* Add reference to login.conf(5)Matthew Dillon1998-12-131-2/+3
| | | | Notes: svn path=/head/; revision=41716
* PR: docs/9045Matthew Dillon1998-12-131-27/+31
| | | | | | | | | Update chpass(1) manual page. Change the definition of the class field and also reorganize the field list to match that of the /etc/master.passwd file, to avoid confusion. Notes: svn path=/head/; revision=41715