taskThe GNU Hurd - Tasks: task #5994, rpctrace: Consider...

 
 

task #5994: rpctrace: Consider PREFIX/shared/msgids/*.msgids by default

Submitter:  Thomas Schwinge <tschwinge>
Submitted:  Wed 18 Oct 2006 03:31:20 PM UTC
   
 
Category:  The GNU Hurd Should Start On:  Tue 17 Oct 2006 10:00:00 PM UTC
Should be Finished on:  Tue 17 Oct 2006 10:00:00 PM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  tschwinge Percent Complete:  100%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Nov 2006 11:47:13 PM UTC, comment #5: 

I just installed the following:

#v+
2006-11-27  Ben Asselstine  <benasselstine@canada.com>
            Thomas Schwinge  <tschwinge@gnu.org>

        [task #5994 --- ``rpctrace: Consider PREFIX/shared/msgids/*.msgids by
        default'']
        * rpctrace.c: Include <stdbool.h> and <argz.h>.
        (scan_msgids_dir): New function, factored out of the <case 'I'> code,
        with the change of not directly parsing the files, but instead adding
        them to an argz vector.
        (STD_MSGIDS_DIR): New definition.
        (options): Add new `--nostdinc' option.
        (main): Handle that new option.  Utilize an argz vector.  Include the
        files in STD_MSGIDS_DIR unless prohibited by the new option.
#v-

Thomas Schwinge <tschwinge>
Group administrator
Thu 23 Nov 2006 11:40:47 PM UTC, comment #4: 

Here's another try, with the standard system msgids are processed first.

Ben Asselstine <benasselstine>
Thu 23 Nov 2006 04:01:59 AM UTC, comment #3: 

Here's a patch that adds --nostdinc to rpctrace.  It's mostly untested.

Ben Asselstine <benasselstine>
Wed 22 Nov 2006 04:26:31 PM UTC, comment #2: 

So, that's what I'd suggest then:

  • Before parsing the options, rpctrace shall parse the `DATADIR/msgids/*.msgids' files.
  • An option `--nostdinc' is added that simply clears the current pool of information.


Thomas Schwinge <tschwinge>
Group administrator
Wed 18 Oct 2006 03:45:28 PM UTC, comment #1: 

Make -I to add new files and then use -nostdinc to mean no standard include files like cpp.

Neal H. Walfield <neal>
Group administrator
Wed 18 Oct 2006 03:31:20 PM UTC, original submission:  

rpctrace should consider PREFIX/shared/msgids/*.msgids by default.

It still has to be evaluated whether adding `-I' / `-i' switches a) completely overrides this default or rather enhances it by b) overruling the default ones or c) not overruling them.

Thomas Schwinge <tschwinge>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #11340:  rpctrace-add-nostdinc-20061123.patch added by benasselstine (3KiB - text/x-patch - load system msgids after parising, and add --notstdinc (try 2))
file #11325:  rpctrace-add-nostdinc-20061122.patch added by benasselstine (3KiB - text/x-patch - load system msgids after parsing, and add --nostdinc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tschwinge (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2006-11-26 tschwinge StatusNone Done
        Percent Complete0% 100%
        Assigned toNone tschwinge
        Open/ClosedOpen Closed
    2006-11-23 benasselstine Attached File- Added rpctrace-add-nostdinc-20061123.patch, #11340
    2006-11-23 benasselstine Attached File- Added rpctrace-add-nostdinc-20061122.patch, #11325

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code