search for: file_length

Displaying 8 results from an estimated 8 matches for "file_length".

2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...bc_init] + +gfx_init_end: + ret + +gfx_read_file: +; open file +; es:si - file name + + push cs + pop es + mov ax,6 + mov si,pspCmdArg+1 + int 22h + jnc gfx_file_read + stc + ret + +gfx_file_read: +; si - file handle +; eax - length of file in bytes, or -1 +; cx - file block size + + mov [file_length],eax + mov edx,eax + mov [gfx_archive_end],edx + mov edi, [gfx_mem] + mov eax,[gfx_mem0_start] + lea eax,[eax+edx+0fh] + cmp eax,[gfx_mem0_end] + jbe read_bootlogo + + mov ax,2 + mov bx,msg_bootlogo_toobig + int 22h + stc + ret + +read_bootlogo: + mov [gfx_mem0_start],eax + mov eax,[f...
2018 Jul 12
1
[Bug 13526] New: Hard link creation time
...ync and the creation time is the one of the file just before it. I think I got it : after this, in recv_file_entry(), in flist.c, line 787 in version 3.1.3 if (first_hlink_ndx >= flist->ndx_start) { struct file_struct *first = flist->files[first_hlink_ndx - flist->ndx_start]; file_length = F_LENGTH(first); we should add "crtime = f_crtime(first);" just after. -- You are receiving this mail because: You are the QA Contact for the bug.
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...gning later + ; edx: max allowed size + + cmp eax,-1 ; unknown file size -> set to max allowed size + jnz .has_size + mov eax,edx +.has_size: + cmp eax,edx + jbe read_bootlogo + +gfx_file_too_big: + mov ax,2 + mov bx,msg_bootlogo_toobig + int 22h + stc + ret + +read_bootlogo: + mov [file_length],eax + mov edi,[gfx_mem] + +; read file +; si - file handle +; es:bx - buffer +; cx - number of blocks to read + +read: + push eax + mov ax,7 + mov bx,trackbuf + mov cx,[BufSafe] + int 22h + + push edi + push ecx + push si + push es + + mov si,trackbuf + push edi + call gfx_l2so + pop...
2004 Apr 10
0
patches for copying atimes
...mode; static DEV64_T rdev, rdev_high; static DEV64_T dev; @@ -524,7 +534,7 @@ struct file_struct *file; if (!fptr) { - modtime = 0, mode = 0; + modtime = 0, atime = 0, mode = 0; rdev = 0, rdev_high = 0, dev = 0; uid = 0, gid = 0; *lastname = '\0'; @@ -575,6 +585,11 @@ file_length = read_longint(f); if (!(flags & XMIT_SAME_TIME)) modtime = (time_t)read_int(f); + if (protocol_version > 28) { + if (!(flags & XMIT_SAME_ATIME)) + atime = (time_t)read_int(f); + } else + atime = time(NULL); if (!(flags &...
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...static mode_t mode; static int64 dev; static dev_t rdev; @@ -524,7 +531,7 @@ struct file_struct *file; if (!flist) { - modtime = 0, mode = 0; + modtime = 0, acctime = 0, mode = 0; dev = 0, rdev = makedev(0, 0); rdev_major = 0; uid = 0, gid = 0; @@ -578,6 +585,10 @@ file_length = read_longint(f); if (!(flags & XMIT_SAME_TIME)) modtime = (time_t)read_int(f); + if (remote_protocol >= 30) + acctime = (time_t)read_int(f); + else + acctime = time(NULL); if (!(flags & XMIT_SAME_MODE)) mode = from_wire_mode(read_int(f)); @@ -630,6 +641,7 @@ file->...
2009 Apr 30
2
[1/1] [gfxboot] align buffer used to read data from disk to a 512 byte boundary
...ift db 0 sectorsize dw 0 trackbufsize equ 16384 +align 512 ; must be 512 byte aligned because it will be passed + ; to int 22h, AX=07h trackbuf times trackbufsize db 0 BufSafe dw 0 file_length dd 0 -- 1.6.2.4
2004 Apr 20
1
improved atime patch
...e_t atime; static mode_t mode; static uint64 dev; static dev_t rdev; @@ -534,7 +544,7 @@ struct file_struct *file; if (!fptr) { - modtime = 0, mode = 0; + modtime = 0, atime = 0, mode = 0; dev = 0, rdev = makedev(0, 0); rdev_major = 0; uid = 0, gid = 0; @@ -586,6 +596,11 @@ file_length = read_longint(f); if (!(flags & XMIT_SAME_TIME)) modtime = (time_t)read_int(f); + if (protocol_version > 28) { + if (!(flags & XMIT_SAME_ATIME)) + atime = (time_t)read_int(f); + } else + atime = time(NULL); if (!(flags &...
2008 Feb 15
4
Revised flags patch
...lags & XMIT_SAME_FLAGS)) + fileflags = (uint32)read_int(f); +#endif + if (uid_ndx && !(xflags & XMIT_SAME_UID)) { if (protocol_version < 30) uid = (uid_t)read_int(f); @@ -865,6 +887,10 @@ static struct file_struct *recv_file_ent OPT_EXTRA(file, 0)->unum = (uint32)(file_length >> 32); } file->mode = mode; +#ifdef SUPPORT_FLAGS + if (fileflags_ndx) + F_FFLAGS(file) = fileflags; +#endif if (uid_ndx) F_OWNER(file) = uid; if (gid_ndx) { @@ -1199,6 +1225,10 @@ struct file_struct *make_file(const char OPT_EXTRA(file, 0)->unum = (uint32)(st.st_size &g...