[quake3-bugzilla] [Bug 6021] New: errors in Unix-errorhandling
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Sun Sep 1 03:06:23 EDT 2013
https://bugzilla.icculus.org/show_bug.cgi?id=6021
Bug ID: 6021
Summary: errors in Unix-errorhandling
Classification: Unclassified
Product: ioquake3
Version: GIT MASTER
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Platform
Assignee: zachary at ioquake.org
Reporter: dietrich_joerg at t-online.de
QA Contact: quake3-bugzilla at icculus.org
Created attachment 3381
--> https://bugzilla.icculus.org/attachment.cgi?id=3381&action=edit
patch to correct the errorhandling-errors
There are two errors in function Sys_ErrorDialog() in code/sys/sys_unix.c.
This function tries to write to ~/.q3a/baseq3/crashlog.txt.
If its directory doesn't yet exist, it tries to create it and fails.
The first error is to use the filename of the file
and not its directory-name, so it creates a directory "crashlog.txt".
The second error is that it doesn't create all the parent-directories
should these be missing.
Attached is a patch which corrects these errors.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20130901/8270575b/attachment.html>
More information about the quake3-bugzilla
mailing list