From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: nfs@lists.sourceforge.net
Subject: [PATCH] various minor manpage fixes
Date: Mon, 20 Nov 2006 23:47:52 +0100 [thread overview]
Message-ID: <20061120224752.GA13561@uio.no> (raw)
Hi,
Here's another patch that has been sitting in our tree for a while, which
should probably go in upstream. Changelog:
=== snip ===
Author: Steinar H. Gunderson <sesse@debian.org>
Date: Mon, 20 Nov 2006 23:46:32 +0100
Use memset instead of __bzero. bzero has been deprecated
for years (and anything starting with __ is an internal
function anyhow), and __bzero seems to have broken on ia64
not too long ago.
=== snip ===
diff -ur nfs-utils-1.0.10.orig/support/nfs/svc_socket.c nfs-utils-1.0.10/support/nfs/svc_socket.c
--- nfs-utils-1.0.10.orig/support/nfs/svc_socket.c 2006-08-07 08:40:50.000000000 +0200
+++ nfs-utils-1.0.10/support/nfs/svc_socket.c 2006-11-20 23:46:05.000000000 +0100
@@ -64,7 +64,7 @@
}
}
- __bzero ((char *) &addr, sizeof (addr));
+ memset (&addr, 0, sizeof (addr));
addr.sin_family = AF_INET;
ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata,
/* Steinar */
--
Homepage: http://www.sesse.net/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next reply other threads:[~2006-11-20 22:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 22:47 Steinar H. Gunderson [this message]
2006-11-20 22:48 ` [PATCH] various minor manpage fixes Steinar H. Gunderson
2006-11-21 5:02 ` Trond Myklebust
2006-11-21 11:17 ` Steinar H. Gunderson
-- strict thread matches above, loose matches on Subject: below --
2006-11-20 22:43 Steinar H. Gunderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061120224752.GA13561@uio.no \
--to=sgunderson@bigfoot.com \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.