File: fix-getopt.diff

package info (click to toggle)
eperl 2.2.14-23
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 2,320 kB
  • sloc: ansic: 4,692; perl: 584; sh: 556; makefile: 359
file content (17 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix segfault on "eperl --="
Author: Axel Beckert <abe@debian.org>

Index: eperl/eperl_main.c
===================================================================
--- eperl.orig/eperl_main.c	2013-06-27 02:03:40.375798287 +0200
+++ eperl/eperl_main.c	2013-06-27 02:05:03.789251727 +0200
@@ -286,7 +286,8 @@
     { "license",        0, NULL, 'l' },
     { "version",        0, NULL, 'v' },
     { "ingredients",    0, NULL, 'V' },
-    { "help",           0, NULL, 'h' }
+    { "help",           0, NULL, 'h' },
+    { NULL,             0, NULL, NULL}
 };
 
 /*