[patch #3056] GNATS does not use the builtin name "originator" in file-pr.c

"anonymous" <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
This mail is an automated notification from the patch tracker
 of the project: gnats.




/**************************************************************************/
[patch #3056] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3056>
Project: gnats
Submitted by: 0
On: Fri 05/14/04 at 09:32

Category:  None
Priority:  5 - Normal
Resolution:  None
Assigned to:  None
Originator Email:  [email protected]
Status:  Open


Summary:  GNATS does not use the builtin name "originator" in file-pr.c

Original Submission:  We have renamed the field Originator and got the following stack trace of the gnatsd.

#0  0x40078f81 in kill () from /lib/libc.so.6
#1  0x40078c44 in raise () from /lib/libc.so.6
#2  0x40079ffd in abort () from /lib/libc.so.6
#3  0x08058b75 in set_field () at pr.c:963
#4  0x080525fd in createNewPRFile (pr=0x808cd70, flag_autocreate=1,
    err=0xbffff94c) at file-pr.c:145
#5  0x08053222 in submit_pr (database=0x8072410, fp=0x8088308, err=0xbffff94c)
    at file-pr.c:959
#6  0x0804b797 in GNATS_subm (ac=0, av=0x8085a34) at cmds.c:510
#7  0x0804aa43 in serverMainLoop () at gnatsd.c:929
#8  0x0804ad75 in main (argc=1, argv=0x4017bae4) at gnatsd.c:1073
#9  0x4006754d in __libc_start_main () from /lib/libc.so.6

The bug seems to be in file-pr.c where the field name is used instead of the builtin name. After applying this patch it seems to work.

We use GNATS 4.0.






File Attachments
-------------------

-------------------------------------------------------
Date: Fri 05/14/04 at 09:32  Name: builtin_originator.patch  Size: 525KB   By: None
Patch.
http://savannah.gnu.org/patch/download.php?item_id=3056&amp;item_file_id=3254






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3056>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.