🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Thu, 01 Feb 1990 18:26
u adb script missing a line
#265
Author: Steven M. Schultz
Date: Thu, 01 Feb 1990 18:26
29 lines
1327 bytes
Subject: u adb script missing a line
Index:	lib/adb/u 2.10BSD

Description:
	The /usr/lib/adb/u script produces misaligned output for 
	user structure members from u_quota on.
	
Repeat-By:
	Use adb to pretty print a u struct.  Note the values for
	u_base, and so on are off by one word.

Fix:
	Apply the patch below to /usr/lib/adb/u.  The u_quota member is
	present even if quotas are not included in the system (same as in
	4.3BSD) so that programs dealing with u structs do not have to
	be recompiled if quotas are present or not.

*** u.old	Thu Aug 20 11:18:01 1987
--- u	Wed Jan 31 21:58:51 1990
***************
*** 30,35 ****
--- 30,36 ----
  +/"start"nYn
  +/"acflag"nbn9+
  +/"rlimits"n12D
+ +/"quota"non
  +/"u_base"8t"u_count"8t"u_offset"16t"u_segflg"nouDbn+
  +/"nc_prevoff"16t"nc_inum"8t"minor"8t"major"nDubbn
  +/"ni_endoff"16t"u_dirp"nDon
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads