Commit Graph

5133 Commits

Author SHA1 Message Date
bde
d22f354bea Use the same current time throughout ffs_update().
Update some macro names in comments.

Don't use MNT_WAIT for something not related to mounting.
1994-12-27 14:44:42 +00:00
bde
5987e0e381 Use the same current time throughout ITIMES(). I want all current
timestamps for an atomic operation such as rename() on a local file
system to be identical.

Uniformize yet another idempotency ifdef.  The comment nesting was
bogus.
1994-12-27 13:59:14 +00:00
bde
6b4e986e75 fixunsdfsi.S:
Embalm.  Rewrite to do things much the same as gcc-2: use fistpq for speed
and elegance, and mishandle overflow consistently.  __fixunsdfsi() is no
longer called by gcc.
1994-12-27 13:37:38 +00:00
bde
ae18e55c2b sigsetjmp.S:
Remove unnecessary .text statement.
1994-12-27 13:34:04 +00:00
bde
8f0f6bfcbc Remove unnecessary .align statement. 1994-12-27 13:33:03 +00:00
bde
5880029ee9 Fix a spelling error and add a comment about possible improvements. 1994-12-27 13:12:34 +00:00
bde
70e1091479 Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
bde
bc9ea38587 Fix panic for `cp -p' by root to an msdos file system. Improve handling
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).

msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.

denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).

denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro.  It was only used once, and the corresponding
macro in ufs has already been removed.

denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).

msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
dg
90a77cc256 Fixed two security holes in the pcmmap() function.
Submitted by:	Bruce Evans
1994-12-27 08:43:06 +00:00
ats
9f9964ce84 My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
ats
c1ca341215 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
ats
ca19aebff1 Add a patch that someone on the net has used to run on his IBM Thinkpad.
Sorry, lost the name and mail of the original author. The whole patch
is ifdefed, so it should not disturb someone else in the moment.
1994-12-26 17:50:18 +00:00
ats
99e8dc58dd Add examples for the sony and the panasonic drivers. 1994-12-26 17:33:52 +00:00
ats
ad4b7014ed The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
bde
b65d3e0ac9 Obtained from: partly from 1.1.5
Convert "" to "." for "cd" and "cd ''".  chdir("") is required to fail
on POSIX systems.
1994-12-26 13:02:05 +00:00
bde
5871399380 Obtained from: partly from 386BSD-0.1.2.4
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors

Change some error messages to say which call to settimeofday failed.

Restore casts of NULL in function calls.

Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
ache
6cb64c25cd Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
ache
bf8da19ce1 Declare useful functions (timelocal() and timegm()) 1994-12-26 10:19:41 +00:00
ats
b9dd1dfa03 Correct the devices.i386 for the major numbers. 8 was already used now
by the lkm driver, so put scd and pcd to the numbers they have now
in i386/conf.c.
Add the pcd.c file for the panasonic driver in files.i386.
1994-12-26 01:06:41 +00:00
ats
c732e7606b Add entries for the sony and panasonic drives and drivers. 1994-12-25 23:25:54 +00:00
bde
dddacb9ae5 Fix the bug reported by Torbjorn Granlund <tege@cygnus.com>:
The documentation for mrand48 and lrand48 is mixed up.
mrand48 returns a full 32 bit number, while lrand48 only returns
31 bits.
1994-12-25 15:33:39 +00:00
ats
7d52d1a428 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
ache
281863776f Merge several probe diagnostics into one.
Adjust for newer model for all non-LUxxx too.
FLAGS status register names cleanup
1994-12-24 13:24:02 +00:00
bde
cafc533e6f Fix comments on dk_wds and dk_wpms to match code. Improve comment on
dk_time.
1994-12-24 10:11:18 +00:00
ache
d9d741867e Add T option back to ar until nm will be fixed. Sorry, nate. 1994-12-24 10:07:51 +00:00
bde
a46c3ece75 Fix the "wds" count stat. 1994-12-24 09:48:32 +00:00
bde
b0544ad856 Fix the "wd" count stat. The seek and xfer stats are still very bogus
for wd (they both count the number of sectors).  The wpms stat is still
moderately bogus for all drivers.  Even the count stat could be handled
better (partial blocks should be counted as full blocks; should errors
and retries be counted?).
1994-12-24 09:43:12 +00:00
bde
1fc0e7a59d Really fix the "byte" count stat. `wd's are actually blocks of 32 16-bit
words in dkstat-speak.  `ms's are seconds in dkstat-speak...
1994-12-24 09:19:00 +00:00
bde
9e1c0cbeab Obtained from: 1.1.5
Fix single-stepping of emulated FPU instructions.

Don't panic if an FPU instruction is attempted but there is no FPU
and no FPU emulator is configured.
1994-12-24 07:22:58 +00:00
ache
fb92c84ee8 Merging.
v1.9.0 - December 22, 1994.  The program won't exit from the interactive shell
  if it's working from a tty.  For example, it won't exit if you do an mget
  on a pattern that won't match anything.  Added padding around jmp_buf's
  for SunOS.  SunOS needs sigjmp_buf's, but plenty of OS's don't support
  sigjmp_buf's yet.  Fixed the tips to reflect the new archive site.

v1.8.9 - December 20, 1994.  Can now set "passive" user variable, or use
  passive command to toggle PASV/PORT ftp.  Debug mode now prints remote
  responses.  Can now get around buggy FTP servers like boombox.micro.umn.edu,
  that give back invalid port numbers to PASV.

v1.8.8 - December 19, 1994.  Now falls back to port FTP if passive FTP fails.
1994-12-24 01:15:19 +00:00
ache
fc6a3e5e76 This commit was generated by cvs2svn to compensate for changes in r5216,
which included commits to RCS files with non-trunk default branches.
1994-12-24 01:01:48 +00:00
ache
962de1ff22 Update 1994-12-24 01:01:48 +00:00
dg
2503434475 Revert last patch - it's wrong. 1994-12-23 23:03:32 +00:00
nate
2d6cedff33 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
nate
2b85911694 Subject: ranlib fix for odd length long final file names (PR #82)
Submitted by:	Peter Dufault <dufault@hda.com>
1994-12-23 22:55:00 +00:00
nate
e1002ce0fc Strip out unused local symbols from shared objects, and no longer
truncate archive members to 15 characters since it's no longer
necessary.
1994-12-23 22:50:45 +00:00
dg
4a0d37658b Fixed byte count stat.
Submitted by:	John Dyson
1994-12-23 22:44:55 +00:00
nate
ebc21c1850 Added link.5 man page and updated a.out.5 manpage to reflect the new
code.

Obtained from: NetBSD
1994-12-23 22:41:46 +00:00
nate
abcfab1224 Warning and weak reference macros which are used to generate link-time
messages.

Obtained from: NetBSD
1994-12-23 22:38:54 +00:00
nate
08bd346ff9 Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
nate
ed8e4e68fe Document some of the fields used by the new shlib code.
Obtained from: NetBSD
1994-12-23 22:32:48 +00:00
nate
047d3abc50 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
jkh
9f714d6789 Miscellaneous fixes for the snapshot. 1994-12-23 05:11:18 +00:00
dg
f72e22c258 Do vm_page_rename more conservatively in rcollapse and qcollapse, and
change list walk so that it doesn't get stuck in an infinite loop.

Submitted by:	 John Dyson
1994-12-23 05:00:19 +00:00
dg
b5cb78e711 Initialize b_vnbuf.le_next before returning a new buffer in getpbuf and
trypbuf. Move a couple of splbio's to be slightly less conservative.
1994-12-23 04:56:51 +00:00
dg
a657db37e4 Protect vnode buffer chain manipulation with splbio to prevent list
corruption..
1994-12-23 04:52:55 +00:00
jkh
669b188463 Whoops! I buggered up the tape dialog. Fixed. These changes allow
you to specify your tape drive device for the cases when the user
has more than one.
1994-12-23 03:30:02 +00:00
jkh
b5157e66f9 Fix a typo that crept in with the last update. 1994-12-23 02:55:07 +00:00
jkh
b40cf2f878 Even more bogons eradicated. My, there are a lot of them in here! :-) 1994-12-23 02:25:32 +00:00
dg
f9b1490b1c Restore my changes in rev 1.11 that Garrett killed in his commit. 1994-12-22 23:42:25 +00:00