Custom Query (245 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (73 - 75 of 245)

Ticket Resolution Summary Owner Reporter
#238 invalid Exception handler not working in forked child bird Yuri Dario
Description

When a process executes a fork(), the registered exception handlers are not working in child process. In my case, I registered EXCEPTQ 7.0 handler to dump exceptions to disk.

Registering exception handler in fork()ed code, allows testcase code to dump the exception.

#237 fixed libc: _fullpath() changes current drive bird dmik
Description

I found that _fullpath() implicitly changes the current OS/2 drive letter under some circumstances. Here is a test case:

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>

#define TEST 2

#if TEST == 1
    // OK: this doesn't change current drive
    const char *path = "CONFIG.SYS";
#elif TEST == 2
    // FAIL: this changes current drive to C:
    const char *path = "C:\\CONFIG.SYS";
#elif TEST == 3
    // FAIL: this changes current drive to C: too
    const char *path = "C:\\FAKEDIR\\CONFIG.SYS";
#endif

int main ()
{
    char buf [260];

    printf ("current drive = %c\n", _getdrive());

    int rc = _fullpath (buf, path, sizeof(buf));
    if (!rc)
        printf ("_fullpath (%s) = %s\n", path, buf);
    else
        printf ("rc = %d, errno = %s\n", rc, strerror(errno));

    printf ("current drive = %c\n", _getdrive());

    return 0;
}

I find this side effect completely unexpected and error prone.

#236 fixed sys/socket.h: Use _ALIGN instead of ALIGN for CMSG_NXTHDR bird KO Myung-Hun
Description

Hi/2.

ALIGN is not defined due to _NO_NAMESPACE_POLLUTION.

So CMSG_NXTHDR should use _ALIGN not ALIGN.

Note: See TracQuery for help on using queries.