[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Global-commit] global/global literal.c
From: |
Hideki IWAMOTO |
Subject: |
[Global-commit] global/global literal.c |
Date: |
Thu, 20 Dec 2012 10:34:28 +0000 |
CVSROOT: /sources/global
Module name: global
Changes by: Hideki IWAMOTO <h-iwamoto> 12/12/20 10:34:28
Modified files:
global : literal.c
Log message:
BUGFIX: When empty file exists, `global -g' fails.
$ touch a.c
$ gtags
$ global -g foo
global: mmap failed (./a.c).
POSIX says `If len is zero, mmap() shall fail and no mapping shall be
established.'
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/global/literal.c?cvsroot=global&r1=1.3&r2=1.4