pj_file_open can't open file at PJ_O_APPEND mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 28, 2008 at 5:10 AM, Gang Liu <gangban.lau at gmail.com> wrote:

> Hi,
>    pj_file_open() always fail when open existing files at append mode. The
> file api backend is file_io_win32.c. Test program included as attachment.
>    OS is windows XP, VS 2005. pjsip-0.9.0 release
>
>

Ah you're right, turns out the append mode has never worked with Win32! I've
just fixed this in http://trac.pjsip.org/repos/ticket/604, thanks for the
report and the code to reproduce it.


   And how can I chose ANSI backend.
>
>

Currently we can't, unless you manually exclude file_io_win32.c from the
build and include file_io_ansi.c instead.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080828/bf995a87/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux