Displaying 4 results from an estimated 4 matches for "pathwalk".
Did you mean:
path_walk
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...- ; Otherwise, it should be a file
+ ; Otherwise, desired file is found
+ ret ; Done!
+
+ ; If we expected a directory, it better be one...
+.isdir:
+ test dl,10h ; Subdirectory
+ jz .badfile
+
+ xor eax,eax
+ xchg eax,[si+file_sector] ; Get sector number and free file structure
+ jmp .pathwalk ; Walk the next bit of the path
+
+ ; Found the desired directory; ZF set but EAX not 0
+.founddir:
+ and eax,eax ; Sector 0 is bad number
+ jz .notfound
+ call alloc_fill_dir ; re-allocate it
+ jnz .alloc_dir_failure
+ and eax,eax
+ ret
+
+.alloc_dir_failure:
+ xor eax,eax
+ ret
+
+.bad...
2003 Oct 07
2
How to change permissions on a directory without meaning to... - include/exclude semantics
Hi,
Think I've found either a documentation bug, in rsync (or possibly a
code bug), with the include/exclude feature. This occurs on (at least)
2.5.5 and 2.5.6
First I created a file list of files that I wanted backed up
[root@poppy root]# cat /tmp/sendmail-rpmverify-out
/etc/
/etc/aliases
/etc/mail/
/etc/mail/helpfile
/etc/mail/local-host-names
/etc/mail/sendmail.mc
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...+ ; What about where the file name = "."; later
+ mov dx,di
+ dec dx
+ cmp dx,si
+ jz .founddir
+
mov [PrevDir],eax ; Remember last directory searched
push di
@@ -1263,12 +1367,257 @@ searchdir:
xchg eax,[si+file_sector] ; Get sector number and free file structure
jmp .pathwalk ; Walk the next bit of the path
+ ; Found the desired directory; ZF set but EAX not 0
+.founddir:
+ ret
+
.badfile:
xor eax,eax
mov [si],eax ; Free file structure
.notfound:
+ xor eax,eax ; Zero out EAX
+ ret
+
+;
+; readdir: Read one file from a directory
+;
+; ES:DI -> String...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...+ ; What about where the file name = "."; later
+ mov dx,di
+ dec dx
+ cmp dx,si
+ jz .founddir
+
mov [PrevDir],eax ; Remember last directory searched
push di
@@ -1263,12 +1340,221 @@ searchdir:
xchg eax,[si+file_sector] ; Get sector number and free file structure
jmp .pathwalk ; Walk the next bit of the path
+ ; Found the desired directory; ZF set but EAX not 0
+.founddir:
+ ret
+
.badfile:
xor eax,eax
mov [si],eax ; Free file structure
.notfound:
+ xor eax,eax ; Zero out EAX
+ ret
+
+;
+; readdir: Read one file from a directory
+;
+; ES:DI -> String...