[Bug 252901] New: vim -d doesn't detect if diff runs OOM
https://bugzilla.novell.com/show_bug.cgi?id=252901 Summary: vim -d doesn't detect if diff runs OOM Product: openSUSE 10.3 Version: Alpha 1plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mkoenig@novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de $ ulimit -v 102400 <- I know this too tight, it's just to show the problem $ perl -e 'print "aaa\n"x9999999;' >t1 $ perl -e 'print "bbb\n"x9999999;' >t2 $ diff t[12]; echo $? diff: memory exhausted 2 <- 2 mean 'trouble' according to diff(1) $ vim -d t[12] + +--9999999 lines: aaa-----------------|.... Vim folds the whole content of both files as identical, without any error message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=252901 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=252901#c1 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Matthias Koenig <mkoenig@novell.com> 2007-08-31 04:47:47 MST --- Vim now shows an error message if diff failed with exit status 2. Fixed in stable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com