bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62055] [pdpic] should handle temporary files as the rest of groff


From: G. Branden Robinson
Subject: [bug #62055] [pdpic] should handle temporary files as the rest of groff does
Date: Mon, 14 Feb 2022 19:53:48 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?62055>

                 Summary: [pdpic] should handle temporary files as the rest of
groff does
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Tue 15 Feb 2022 12:53:46 AM UTC
                Category: Macro - others/general
                Severity: 1 - Wish
              Item Group: Feature change
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The use of temporary files in pdfpic.tmac alarms me a bit.

We go straight to /tmp with an easily predictable file name based on the
process ID.

Now, we _do_ tell people we only run in "unsafe mode", so people have fair
warning, but we also have lots of documentation (starting with groff(1)) of
what temporary directories groff uses and pdfpic.tmac skips over all of that. 
No $TMPDIR, no $GROFF_TMPDIR, nothing...just /tmp.

The issue is made thornier by the fact that we're supposed to (according to
our documentation) check $TEMP and $TMP (in that order) after $GROFF_TMPDIR
and $TMPDIR...on Windows systems.

Nevertheless I have a change in progress.






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62055>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]