bugDDD - Bugs: bug #64398, Empty ddd.1 manpage generated and...


bug #64398: Empty ddd.1 manpage generated and installed on OS X 10.8 and later

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Sun 09 Jul 2023 10:41:20 AM UTC
Votes: 10
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.4.0
* Mandatory Fields

Add a New Comment Rich Markup

Wed 27 Mar 2024 03:26:38 PM UTC, comment #1: 

The ddd man page, ddd.1, is now UTF-8.

Commit 7477.

Michael Eager <eager>
Group administrator
Sun 09 Jul 2023 10:41:20 AM UTC, original submission:  

On OS X Mountain Lion (10.8, released 2012) and later, ddd 3.4.0 installs a 0-byte ddd.1 manpage because:

sed -f ./unumlaut.sed ddd.man | cat > ddd.1~ \
            && mv ddd.1~ ddd.1
sed: 4: ./unumlaut.sed: RE error: illegal byte sequence

Both unumlaut.sed and ddd.man are in ISO-8859-1 encoding. sed on OS X 10.8 and later defaults to requiring its input to be UTF-8. If it is not, you need to tell sed what encoding it's in by setting LC_CTYPE as in the attached patch.

It would also be great if errors from sed were not silently ignored as they are now, due to the pipe. Piping to cat is a useless use of cat; removing it would fix the problem, though I understand that on some other platforms it does something other than cat here and so you may not want to remove it. But maybe there is some other way to satisfy that other platform that does not allow the build to proceed after an error has occurred.

Ryan Carsten Schmidt <ryandesign>


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

Attach Files:

Attached Files
file #54916:  man.patch added by ryandesign (423B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by eager (Posted a comment)
  • -email is unavailable- added by ryandesign (Voted in favor of this item)
  • -email is unavailable- added by ryandesign (Submitted the item)

    There are 10 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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-03-27 eager Open/ClosedOpen Closed
    2023-07-11 ryandesign Carbon-Copy- Added ryandesign
    2023-07-10 ineiev Carbon-CopyRemoved ineiev -
    2023-07-10 ineiev Carbon-Copy- Added ineiev
    2023-07-09 ineiev Carbon-CopyRemoved ineiev -
    2023-07-09 ineiev Carbon-Copy- Added ineiev
    2023-07-09 ryandesign Attached File- Added man.patch, #54916

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code