patchWeeChat - Patches: patch #7414, Add file name to perl script errors

 
 

patch #7414: Add file name to perl script errors

Submitter:  Christian Ruppert <idl0r>
Submitted:  Mon 13 Dec 2010 11:27:44 PM UTC
   
 
Category:  plugins Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
IRC nick:  idl0r
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Jan 2011 12:35:24 PM UTC, comment #1: 

Use @_ instead of $_[0].
So:
"    weechat::print(\"\", \"\tperl error[$fname]: @_\");"

Christian Ruppert <idl0r>
Mon 13 Dec 2010 11:27:44 PM UTC, original submission:  

Added a new sub, sighandler to remove duplicate code.
Simplified the MULTIPLICITY ifdef.
Print the file name as well in case of an error.

Christian Ruppert <idl0r>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by idl0r (Submitted the item)
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-13 idl0r Attached File- Added 0001-Print-the-file-name-as-well-in-case-of-an-error.patch, #22197

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code