File: gccbug.dpatch

package info (click to toggle)
gcc-h8300-hms 1%3A3.4.6%2Bdfsg2-4.2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 94,620 kB
  • sloc: ansic: 627,399; cpp: 89,017; makefile: 24,797; asm: 21,058; sh: 16,616; yacc: 3,740; perl: 718; xml: 692; lex: 587; exp: 298; awk: 223; pascal: 86; lisp: 59; sed: 37
file content (14 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# DP: Use sensible-editor instead of vi as fallback editor
Index: gcc-h8300-hms-3.4.6/gcc/gccbug.in
===================================================================
--- gcc-h8300-hms-3.4.6.orig/gcc/gccbug.in	2004-06-15 04:43:16.000000000 +0200
+++ gcc-h8300-hms-3.4.6/gcc/gccbug.in	2011-06-08 23:55:46.000000000 +0200
@@ -134,7 +134,7 @@
 # If they don't have a preferred editor set, then use
 if [ -z "$VISUAL" ]; then
   if [ -z "$EDITOR" ]; then
-    EDIT=vi
+    EDIT=/usr/bin/sensible-editor
   else
     EDIT="$EDITOR"
   fi