Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14610

[PATCH] AIX NFS patches part1

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From gasha@pie-dabas.net
Newsgroups gnu.bash.bug
Subject [PATCH] AIX NFS patches part1
Date Thu, 20 Sep 2018 12:40:47 +0300
Lines 55
Approved bug-bash@gnu.org
Message-ID <mailman.1023.1537449559.1284.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1537449560 25383 208.118.235.17 (20 Sep 2018 13:19:20 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Virus-Scanned Debian amavisd-new at pie-dabas.net
User-Agent SquirrelMail/1.4.21
X-Priority 3 (Normal)
Importance Normal
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 94.237.85.82
X-Mailman-Approved-At Thu, 20 Sep 2018 09:19:18 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14610

Show key headers only | View raw


Hello all,

I have collection of some AIX specific patches, to fix wildcards and path
completion, if used on NFS mounted filesystems.

As a beginner in GNU contributions, i was not able to format in proper
way. Sorry about that. Anyway, i will put my work here, and if possible,
format it better in future :) Here it is against latest 5.0 beta. First
patch was for bash-4.4.

bash-4.4$ /usr/local/diffutils-3.6/bin/diff 
bash-5.0-beta-orig/lib/glob/glob.c bash-5.0-beta-aix/lib/glob/glob.c
598a599,609
>
> /* Fixes AIX and NFS server on Linux issues, with 64-bit i-nodes.
>    DIR->DIR64, dirent->dirent64, opendir->opendir64
>    readdir->readdir64, closedir->closedir64
>    Original patch v0.1, Gatis Visnevskis, 2016-Dec-09
>    Improved patch v0.2, Gatis Visnevskis, 2018-Sep-18 */
>
> #if defined (_AIX)
>   DIR64 *d;
>   register struct dirent64 *dp;
> #else
600a612
> #endif
714a727,730
> /* AIX NFS 64-bit i-node patch v0.2 */
> #if defined(_AIX)
>       d = opendir64 (dir);
> #else
715a732
> #endif
750a768,771
> /* AIX NFS 64-bit i-node patch v0.2 */
> #if defined(_AIX)
>         dp = readdir64 (d);
> #else
751a773,774
> #endif
>
871a895,898
> /* AIX NFS 64-bit i-node patch v0.2 */
> #if defined(_AIX)
>       (void) closedir64 (d);
> #else
872a900,901
> #endif
>


Gatis


Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] AIX NFS patches part1 gasha@pie-dabas.net - 2018-09-20 12:40 +0300

csiph-web