similar to: [PATCH 3/5] COM32: Improve opendir() to deal with no '/' at end of string

Displaying 20 results from an estimated 600 matches similar to: "[PATCH 3/5] COM32: Improve opendir() to deal with no '/' at end of string"

2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com> COM32: Add directory functions getcwd(), opendir(), readdir() and closedir(). This depends on the patch that I just submitted creating the COMBOOT API calls. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- The intention is to create the library calls with (hopefully) POSIX compliance such that a small application written to use these
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com> COM32: Add directory functions getcwd(), opendir(), readdir() and closedir(). This depends on the patch that I just submitted creating the COMBOOT API calls. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- The intention is to create the library calls with (hopefully) POSIX compliance such that a small application written to use these
2009 Mar 06
0
[PATCH 2/3] COM32 API: restructure DIR
From: Gene Cumm <gene.cumm at gmail.com> COM32 API: restructure DIR to include a dirent to eliminate the need for alloc()/free() of dirents Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Counted incorrectly. Depends on previous patches. diff --git a/com32/include/dirent.h b/com32/include/dirent.h index 5161828..a544050 100644 --- a/com32/include/dirent.h +++
2009 Mar 06
0
[PATCH 1/2] COM32/opendir: remove unneeded zeroing
From: Gene Cumm <gene.cumm at gmail.com> COM32/opendir: remove unneeded zeroing; a member of DIR and errno were zeroed unnecessarily Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- DIR is allocated with calloc() and errno shouldn't be zeroed unless I set it and know I need to ignore it. Depends on the string of patches I've submitted this week diff --git
2009 Mar 05
0
[PATCH 1/1] COM32/opendir: free for malloc
From: Gene Cumm <gene.cumm at gmail.com> COM32/opendir: free for malloc Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Matching the malloc with a free. diff --git a/com32/lib/opendir.c b/com32/lib/opendir.c index 7063f8c..5129273 100644 --- a/com32/lib/opendir.c +++ b/com32/lib/opendir.c @@ -50,6 +50,8 @@ DIR *opendir(const char *pathname) /* ENOTDIR is
2012 Jun 26
2
[GIT PULL] elflink bug fixes
Hi Peter, Please pull the following changes. Paulo, I had to revert your "pxe: resolve names via DNS from protected-mode code" change because dns_resolv() is only implemented for PXELINUX and causes undefined symbol references for ISOLINUX, etc. Feel free to make the change again on top of the revert. The following changes since commit e7bd19def830e8341b1a100956345f1028740b9e:
2001 Aug 13
1
[PATCH] Maildir support
Hi! Here is a patch against openssh-2.9.p2 that adds support for Maildir style mailboxes, the way which qmail prefers to store mails in. The changes/additions are the following: 1) $MAIL env. variable is set to $HOME/Maildir if it exists, or else to _PATH_MAIL/$USER. 2) Mail checking (the main purpose of this patch) is done by first checking whether $MAIL is a regular file or directory. If
2006 Mar 11
5
mboot.c32, weird e820 map on HP blade machine, possible memory corruption
I'm seeing this on a HP Blade and i'm not sure why this is happning since the nature of the issue is so wierd. I compiled mboot.c with a DEBUG defined in the mboot.c file. In the funciton init_mmap(), it prints the e820 map and on the HP blade this map values come out to be totally random. Some weird numbers which dont make any sense at all. However, if i add a while(1); or a exit(1); at
2009 Jul 27
1
[PATCH] mboot using module path
Hi, We are using pxelinux at my company to test our product. And there are limitations that we have hit in the past w.r.t. the max length of a path, or the max length of a module name (in mboot.c / mboot.c32). We've used workarounds in the past, and reorganized the directory structure, but we face that problem again. Out of the 128 / FILENAME_MAX chars that can be used, 110 - 120 go to the
2003 Sep 15
2
Can not use read file SYSLINUX API call
Hi Peter Anvin I tried to use open file and read file SYSLINUX API. But it always make my PC104 freeze. My snip code : ================================================ int __start(void) { int ax,cx,dx,es,si,di,t; com32sys_t inreg,outreg; memset(&inreg, 0, sizeof inreg); memset(&outreg, 0, sizeof outreg); strcopy(__com32.cs_bounce, "test.txt"); inreg.eax.w[0] = 0x0006; //
2008 Jul 16
2
[PATCH 1/2] chain.c32: fix bounce buffer handling
Fix breakage in the "hide" option support patch: - The code which initialized the global variable "dapa" was lost in commit 81c203f2, therefore EBIOS access did not work properly. Fixed by removing the global variable completely and moving all bounce buffer handling into read_sector() and write_sector(). - write_sector() copied data to the bounce buffer, but then
2008 Mar 25
3
Com32 api problem !
(sorry for my english if it is approximate !) I want to access harddisk from com32 api with PXELINUX. I try to use int 13h Extended Read Drive Parameters (48h), it doesn't works. Here is my code, I have an error 1 in AH return code. Int 13h Read Drive Parameters (08h) work well. ******************************************************************************************* struct params {
2009 May 24
1
Sending UDP packets from comboot
Hi everyone. I've read through the archives and found a few posts about using the PXE stack, but none of these really helped me. What i want to do is: Prompt the user for 2 values, desired hostname and a "pin" (just a number) and send this information over UDP to my server The problem is not the user input but the UDP part. I've tried to change the code from the post of jesse
2010 Apr 27
2
gpllib write_sectors() patch
Here is a partial patch that I'm using to illustrate a few questions that I have. Looking at the gpllib write_sectors (com32/gpllib/disk/write.c) it looks like the allocated size is wrong; size is in sectors so we should adjust the alloc/memcpy by size*SECTOR. Also, comparing core/diskio.c it looks like the registers aren't even setup right. In the patch below I put an #if 0 around the
2008 Jul 19
0
[PATCH] ethersel: use library functions
Replace get_config() and execute() with syslinux_config_file() and syslinux_run_command(). - Sebastian Index: syslinux-3.71-pre14-8-gb8f5d7d/com32/modules/ethersel.c =================================================================== --- syslinux-3.71-pre14-8-gb8f5d7d.orig/com32/modules/ethersel.c 2008-07-18 19:45:15.000000000 +0200 +++ syslinux-3.71-pre14-8-gb8f5d7d/com32/modules/ethersel.c
2007 Jan 06
6
PXE stack access via com32
Hi, I've checked the archives for my issue, and while there is relevant discussion, the problem the original poster was asking about didn't seem to have been resolved then either (~2 years ago). At any rate, basically what I'm trying to do is send (possibly receive) UDP packets via the PXE stack using the com32 API (using version 3.11 of syslinux). I have followed both the comboot
2007 Feb 12
4
Read disk not working in 3.35+
Hey, Looks like read disk function which was launched in 3.35 isnt working. Did anyone test this on any hardware? I'm using it thru the com32 interface to read contents of the active partition of a USB boot key (syslinux). I did a sample test like: void scanAndPrint() { com32sys_t regs_in; char *sectorBuf = __com32.cs_bounce; int i; memset(sectorBuf, 0x0, 512); // XXX MARK 1
2001 Mar 13
5
is this null block OK?
Hi, A system running ext3 crashed this afternoon (nothing to do with ext3, bad network driver). Is was saving a file from emacs when it happened. The file system is 0.06b and had ordered data as the mount option. Let me emphasize this was running ext3 pure, not with SnapFS or InterMezzo layered on top of it. strace reveals that Emacs does open("existing file name", O_TRUNC |
2002 May 23
0
protocol errors when using --dryrun
Hi there, I've had a look on the web, and in the archives, but I dont see any mention to this problem/feature. Essentially, I have a local mirror, and a live webserver, with a little script that will execute a --dryrun rsync, ask the user for confirmation, then go ahead and transfer the local updates to the live server. The problem Im having is when Im sync'ing newly generated
2010 Mar 01
0
[PATCH] com32: recognize gPXE's COMBOOT as gPXE
This makes is_gpxe() recognize gPXE's COMBOOT implementation as gPXE. Previously, is_gpxe() only recognized PXELINUX loaded from gPXE. Signed-off-by: Daniel Verkamp <daniel at drv.nu> --- com32/include/syslinux/config.h | 1 + com32/lib/sys/gpxe.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/com32/include/syslinux/config.h