Search:

Type: Posts; User: Fader_Berg

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    8,447

    Asyncronous WinHttp

    Hi all.

    I'm not used with windows programming at all to begin with. I'm more used with curl. However. I got to use Windows API this time, and I'm trying to get a hang of WinHttp but obviously get...
  2. Replies
    1
    Views
    3,537

    I went with calling shutdown() on socket from the...

    I went with calling shutdown() on socket from the signal handler. Don't really like it since feels a bit crude, but the fd is left valid and it does what it takes.
  3. Replies
    1
    Views
    3,537

    SIGINT not interrupting accept()

    Hi.

    I'm writing a FCGI-app and have come to a problem. I want to handle SIGINT to take down the server under control. But when handling SIGINT the accept-call doesn't get interrupted, so I have...
  4. Replies
    5
    Views
    6,282

    Not without a little modification. ...

    Not without a little modification.



    #include <stdio.h>

    int main ( ) {
    printf(
    "\r\n\r\n"
    "<html>\n"
  5. Replies
    5
    Views
    6,282

    Here's a little more correctly expressed example...

    Here's a little more correctly expressed example of main.c. Still the same problem though...



    #include <stdio.h>

    extern char _binary_index_html_start[];
    extern char...
  6. Replies
    5
    Views
    6,282

    I don't know fully how the objcopy object-file...

    I don't know fully how the objcopy object-file and the linker works it out, but that's how you've got to do it to make it work at the command line. I guess the declaration can be of any type.
    I find...
  7. Replies
    5
    Views
    6,282

    Problem with CGI and embedded html

    Hi.

    I've got a problem running a cgi-program with embedded html files. It works when running it from the command line, but not when running it in lighttpd. Then I get a 500 - Internal server...
  8. Replies
    9
    Views
    3,795

    No they are of the same versions. They came from...

    No they are of the same versions. They came from different repos though (installation and base). I reinstalled the installation one from base, but no luck. I've filed a bug for it.

    Thanks for help.
  9. Replies
    9
    Views
    3,795

    Thanks for your time... No warnings at all....

    Thanks for your time...

    No warnings at all. Segfault at same mutex. Must be something with the built on CentOS6.7 I guess. I'll try earlier versions.


    linux-vdso.so.1 => (0x00007ffd1954b000)...
  10. Replies
    9
    Views
    3,795

    I am debugging it, and it segfaults while locking...

    I am debugging it, and it segfaults while locking a mutex in g_context_type_guess... (G_LOCK(gio_xdgmime)).
  11. Replies
    9
    Views
    3,795

    That segfaults for me. Which version of RHEL and...

    That segfaults for me. Which version of RHEL and glib are you using?
  12. Replies
    9
    Views
    3,795

    gio segfault

    Hi.

    I'm using g_content_type_guess to find out mime-types och files.
    It works fine on my Fedora-box, but when compiling and running the program in CentOS 6.7 it I get a segfault. (Also tested...
  13. Replies
    5
    Views
    1,141

    Thank you very much.

    Thank you very much.
  14. Replies
    5
    Views
    1,141

    Thank you ledow... Yes I did. Here's one for...

    Thank you ledow... Yes I did.

    Here's one for you, smartass.

    Let me google something for you too
  15. Replies
    5
    Views
    1,141

    Volume Shadow Copy

    Is there a C API for Volume Shadow Copy in windows?
  16. Replies
    3
    Views
    600

    logstr gets allocated by str_dupf.

    logstr gets allocated by str_dupf.
  17. Replies
    3
    Views
    600

    Forget it... I should'n free time_now.

    Forget it... I should'n free time_now.
  18. Replies
    3
    Views
    600

    Vararg problem

    Hi...

    I've got a problem with the code below. It works the first time it's called. But if/when I call it a second time, the application crashes.

    What have I done wrong?


    #include...
  19. Replies
    1
    Views
    720

    Set covering

    I'm searching algorithms for set covering in C. Is there any good resource for things like this on the net?
  20. Replies
    7
    Views
    1,033

    Use stat.

    Use stat.
  21. wxWidgets doesn't have a C API. You might use...

    wxWidgets doesn't have a C API.

    You might use ResEd instead. I've been using IUP a lot, since I want the software to work with both linux and windows.
  22. for (count = 0; count < 10; count ++) ...

    for (count = 0; count < 10; count ++)
    printf("%d ", list[count]);
    puts("");
    for (count = 0; count < 10; count ++)
    printf("%d ", list1[count]);
  23. Replies
    2
    Views
    1,190

    Wonderful... Thank you very much.

    Wonderful...

    Thank you very much.
  24. Replies
    2
    Views
    1,190

    Registry changes?

    I'm trying to get some code to work with Windows 7 64-bit. It's a part where a registry value should be removed after cloning.
    The opening of the registry key is done with success but I recieve the...
  25. Replies
    4
    Views
    1,537

    Make it safe then.

    Make it safe then.
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4