[AD] [ alleg-Bugs-3298206 ] al_remove_filename() returns wrong code. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-3298206 ] al_remove_filename() returns wrong code.
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Fri, 6 May 2011 10:17:04 +0000
Bugs item #3298206, was opened at 2011-05-06 11:15
Message generated for change (Settings changed) made by xpolife
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3298206&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Core Library
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xpol (xpolife)
Assigned to: Nobody/Anonymous (nobody)
Summary: al_remove_filename() returns wrong code.
Initial Comment:
al_remove_filename() returns false even it runs successfully.
It is caused by fs_stdio_remove_filename() in /src/fshook_stdio.c
the line checking the return code of fs_stdio_remove_entry()
if (err != 0) {
should change to
if (err) {
as fs_stdio_remove_entry() return "true" on success.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3298206&group_id=5665