Displaying 7 results from an estimated 7 matches for "d_namlen".
2002 Mar 08
0
[Bug 151] New: 3.0.2p1 and 3.1p1 fail to build.
...truct direct *" cannot be assigned to an entity of type
"struct dirent *".
if (!(dp = readdir(dir)))
^
cc-1565 cc: ERROR File = getcwd.c, Line = 173
The struct "dirent" has no field "d_namlen".
memmove(bup, dp->d_name, dp->d_namlen + 1);
^
cc-1565 cc: ERROR File = getcwd.c, Line = 190
The struct "dirent" has no field "d_namlen".
if (bpt - pt &l...
2000 Nov 22
0
possible portability bug in bsd-getcwd.c
I have Red Hat Linux 6.2; kernel 2.2.14; glibc 2.1.3, and downloaded portable OpenSSH 2.3.0.
make choked on lines 172, 189, 209, 210 on the "dp->d_namlen" expression. dp is a pointer to an object of dirent type declared in my /usr/src/linux/include/linux/dirent.h header file. The downside is that struct dirent in that file does not have a d_namlen member. Based on the name, and two associated calls to bcopy() function, it seems like d_namlen...
2006 Nov 04
1
[LLVMdev] llvm windows re-port
Hello Žiga
Sat, 04 Nov 2006 12:48:23 +0100 you wrote:
> I decided to make llvm port on windows, to support at least Visual
> Studio 7.1 and Visual Studio 8. I guess I will make only Visual
> Studio 7.1 version, since it can be easily converted to version 8.
Good. Please note, that they're something about 1.5 years old. There
already were some attempts to do visual studio port,
2013 Jul 22
1
[PATCH 1/1 v2] Add UFS1/2 support to Extlinux installer.
...fine UFS_DIR_REC_LEN(name_len) (((name_len) + 1 + 8 + UFS_DIR_ROUND) & ~UFS_DIR_ROUND)
+
+struct ufs_timeval {
+ __fs32 tv_sec;
+ __fs32 tv_usec;
+};
+
+struct ufs_dir_entry {
+ __fs32 d_ino; /* inode number of this entry */
+ __fs16 d_reclen; /* length of this entry */
+ union {
+ __fs16 d_namlen; /* actual length of d_name */
+ struct {
+ __u8 d_type; /* file type */
+ __u8 d_namlen; /* length of string in d_name */
+ } d_44;
+ } d_u;
+ __u8 d_name[UFS_MAXNAMLEN + 1]; /* file name */
+};
+
+struct ufs_csum {
+ __fs32 cs_ndir; /* number of directories */
+ __fs32 cs_nbfree; /* numbe...
2013 Jul 12
2
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
...fine UFS_DIR_REC_LEN(name_len) (((name_len) + 1 + 8 + UFS_DIR_ROUND) & ~UFS_DIR_ROUND)
+
+struct ufs_timeval {
+ __fs32 tv_sec;
+ __fs32 tv_usec;
+};
+
+struct ufs_dir_entry {
+ __fs32 d_ino; /* inode number of this entry */
+ __fs16 d_reclen; /* length of this entry */
+ union {
+ __fs16 d_namlen; /* actual length of d_name */
+ struct {
+ __u8 d_type; /* file type */
+ __u8 d_namlen; /* length of string in d_name */
+ } d_44;
+ } d_u;
+ __u8 d_name[UFS_MAXNAMLEN + 1]; /* file name */
+};
+
+struct ufs_csum {
+ __fs32 cs_ndir; /* number of directories */
+ __fs32 cs_nbfree; /* numbe...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to