From: Matthew Wilcox <Matthew.Wilcox@genedata.com>
To: Kevin Vajk <kvajk@ricochet.net>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] getdents
Date: Thu, 4 Nov 1999 02:39:26 +0100 [thread overview]
Message-ID: <19991104023926.H25252@mencheca.ch.genedata.com> (raw)
In-Reply-To: <Pine.LNX.4.10.9911031645490.25873-100000@sophia.localdomain>; from Kevin Vajk on Wed, Nov 03, 1999 at 05:12:57PM -0800
On Wed, Nov 03, 1999 at 05:12:57PM -0800, Kevin Vajk wrote:
>
> On Wed, 3 Nov 1999, Matthew Wilcox wrote:
>
> > struct hpux_dirent {
> > ino_t d_ino;
> > short d_reclen;
> > short d_namlen;
> > char d_name[1];
> > };
>
> Shouldn't that be d_name[256]?
It's OK, that's only used as an offset to tell the kernel where to put the
string.
--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson
prev parent reply other threads:[~1999-11-04 1:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-03 2:11 [parisc-linux] getdents Matthew Wilcox
1999-11-04 1:12 ` Kevin Vajk
1999-11-04 1:29 ` Kevin Vajk
1999-11-04 1:43 ` Matthew Wilcox
1999-11-04 5:52 ` Grant Grundler
1999-11-04 1:39 ` Matthew Wilcox [this message]
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=19991104023926.H25252@mencheca.ch.genedata.com \
--to=matthew.wilcox@genedata.com \
--cc=kvajk@ricochet.net \
--cc=parisc-linux@thepuffingroup.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox