diff options
author | Jakub Narebski <jnareb@gmail.com> | 2009-05-11 03:29:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-10 21:19:03 -0700 |
commit | 34122b57eca747022336f5a3dc1aa80377d1ce56 (patch) | |
tree | 3ed94ad2c0d6e725ff6370f9fa598e0ae653e551 /pkt-line.h | |
parent | dff2b6d4842eef0a03a3c8b3761f72e2b55b609e (diff) | |
download | git-34122b57eca747022336f5a3dc1aa80377d1ce56.tar.gz git-34122b57eca747022336f5a3dc1aa80377d1ce56.tar.xz |
gitweb: Always use three argument form of open
From 94638fb6edf3ea693228c680a6a30271ccd77522 Mon Sep 17 00:00:00 2001
From: Jakub Narebski <jnareb@gmail.com>
Date: Mon, 11 May 2009 03:25:55 +0200
Subject: [PATCH] gitweb: Localize magic variable $/
Instead of undefining and then restoring magic variable $/ (input
record separator) for 'slurp mode', localize it.
While at it, state explicitely that "local $/;" makes it undefined, by
using explicit "local $/ = undef;".
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pkt-line.h')
0 files changed, 0 insertions, 0 deletions