File: define-cfg-name.diff

package info (click to toggle)
john 1.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,504 kB
  • sloc: ansic: 22,788; asm: 5,665; makefile: 899; sh: 518; perl: 158
file content (20 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: allows CFG_FULL_NAME/CFG_ALT_NAME modification from debian/rules. 
Modified by Marcos Fouces to adjust to upstream release 1.9.0.
Author: Kees Cook <kees@debian.org>, Marcos Fouces <marcos@debian.org>
Last-Update: 2022-08-07
Forwarded: no

--- a/src/params.h
+++ b/src/params.h
@@ -135,11 +135,6 @@
 /*
  * File names.
  */
-#ifdef __DJGPP__
-#define CFG_FULL_NAME			"$JOHN/john.ini"
-#else
-#define CFG_FULL_NAME			"$JOHN/john.conf"
-#endif
 #if JOHN_SYSTEMWIDE
 #ifdef __DJGPP__
 #define CFG_PRIVATE_FULL_NAME		JOHN_PRIVATE_HOME "/john.ini"