This is the mail archive of the
gnats-cvs@sourceware.cygnus.com
mailing list for the GNATS project.
gnats/gnats cmds.c edit.c file-pr.c globals.h ...
- To: gnats-cvs at sourceware dot cygnus dot com
- Subject: gnats/gnats cmds.c edit.c file-pr.c globals.h ...
- From: bmanson at sourceware dot cygnus dot com
- Date: 22 Oct 1999 02:16:16 -0000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: bmanson@sourceware.cygnus.com 99/10/21 19:16:16
Modified files:
gnats : cmds.c edit.c file-pr.c globals.h gnats.h
gnatsd.c gnatsd.h main.c npr-edit.c pr-edit.c
pr.h Makefile.in ChangeLog TODO
Log message:
Add commands to allow the server to add new PRs.
* pr-edit.c: Add submit, append and replace options.
* npr-edit.c: Ditto.
* main.c (main): Call submit_pr () instead of gnats ().
* file-pr.c (create_pr_file, submit_pr): New functions.
(gnats): Call create_pr_file.
* edit.c (check_curr_pr, rewrite_curr_pr, edit_field): New
functions.
(check_pr): Read in the PR and call check_curr_pr.
* cmds.c (GNATS_subm): New function.