[go: up one dir, main page]

  • Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • logreporters
  • Bugs

Unescaped left brace and readd parsing of two errors

Status: Abandoned
Brought to you by: samboca
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Code
  • Bugs
  • News
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v1.0_(example)
  • v1.40.01
  • v1.51.03

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#4 Unescaped left brace and readd parsing of two errors

v1.51.03
open
nobody
None
1
2017-04-22
2017-03-02
Phil Pearl (Lobbes)
No

Note: this is against 1.40.03, but that milestone isn't in the pull-down list...

Two issues:

  1. A warning with newer versions of perl (5.22.01 in my case):
$ perl -T postfix-logwatch -h > /dev/null
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^Config: { <-- HERE / at postfix-logwatch line 1850.

The fix is straight forward, just escale the left brace as recommended.

Between 1.39 and 1.40 code that parses some warnings (TLS library problem and network_biopair_interop) was:
* first, not commented out (1.40.01)
* second, pseudo commented out (via use of =cut)
* in either case, it is unclear why this was done - maybe I missed a relevant bug though

I'm suggesting we just re-enable the code with a little cleanup. If we really don't want it then perhaps we should remove it instead of hiding it in a =cut block?

Diff attached.

1 Attachments
postfix-logwatch.patch

Discussion

  • Michael Orlitzky

    Michael Orlitzky - 2017-04-22

    See also: https://sourceforge.net/p/logreporters/mailman/message/35410230/

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Privacy Choices Advertise