u adb script missing a line
Steven M. Schultz
sms at wlv.imsd.contel.com
Fri Feb 2 05:26:59 AEST 1990
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
More information about the Comp.bugs.2bsd
mailing list