Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 03:23:49 -0400 (EDT)
From:      "Andrew R. Reiter" <arr@watson.org>
To:        freebsd-audit@freebsd.org
Subject:   audit work:  leave.c usage() fix (more obsd sync)
Message-ID:  <Pine.NEB.3.96L.1010417032024.79724A-200000@fledge.watson.org>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1426310504-987492229=:79724
Content-Type: TEXT/PLAIN; charset=US-ASCII

hi,

attached is a patch again for -current for leave.c.  the sync up with obsd
was the call usage() if the number of arguments is greater than two.  with
-Wall compile, it was also, of course, complaining about the register char
*cp not being initialized, so I just modified it to be set to NULL.

can also be found at http://www.watson.org/~arr/fbsd-audit/usr.bin/leave/

andrew

*-------------.................................................
| Andrew R. Reiter 
| arr@fledge.watson.org
| "It requires a very unusual mind
|   to undertake the analysis of the obvious" -- A.N. Whitehead

--0-1426310504-987492229=:79724
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="leave.c.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.3.96L.1010417032349.79724B@fledge.watson.org>
Content-Description: 

LS0tIGxlYXZlLmMub3JpZwlUdWUgQXByIDE3IDAwOjExOjM1IDIwMDENCisr
KyBsZWF2ZS5jCVR1ZSBBcHIgMTcgMDA6MTY6MTggMjAwMQ0KQEAgLTY5LDcg
KzY5LDcgQEANCiB7DQogCXJlZ2lzdGVyIHVfaW50IHNlY3M7DQogCXJlZ2lz
dGVyIGludCBob3VycywgbWludXRlczsNCi0JcmVnaXN0ZXIgY2hhciBjLCAq
Y3A7DQorCXJlZ2lzdGVyIGNoYXIgYywgKmNwID0gTlVMTDsNCiAJc3RydWN0
IHRtICp0LCAqbG9jYWx0aW1lKCk7DQogCXRpbWVfdCBub3csIHRpbWUoKTsN
CiAJaW50IHBsdXNub3csIHRfMTJfaG91cjsNCkBAIC04NCw3ICs4NCw5IEBA
DQogCQljcCA9IGZnZXRzKGJ1Ziwgc2l6ZW9mKGJ1ZiksIHN0ZGluKTsNCiAJ
CWlmIChjcCA9PSBOVUxMIHx8ICpjcCA9PSAnXG4nKQ0KIAkJCWV4aXQoMCk7
DQotCX0gZWxzZQ0KKwl9IGVsc2UgaWYgKGFyZ2MgPiAyKQ0KKwkJdXNhZ2Uo
KTsNCisJZWxzZQ0KIAkJY3AgPSBhcmd2WzFdOw0KIA0KIAlpZiAoKmNwID09
ICcrJykgew0K
--0-1426310504-987492229=:79724--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1010417032024.79724A-200000>