[Patch] Fix sparse warnings

2005-08-03 Thread Alecs King
fix one 'should it be static?' warning and two 'mixing declarations and code' warnings. Signed-off-by: Alecs King <[EMAIL PROTECTED]> --- connect.c|3 ++- ssh-pull.c |2 +- tools/mailinfo.c |2 +- 3 files changed, 4 insertions(+), 3 deletions(

[PATCH] #!/bin/sh --> #!/usr/bin/env bash

2005-04-21 Thread Alecs King
On Thu, Apr 21, 2005 at 10:31:02PM +0800, Alecs King wrote: > On Thu, Apr 21, 2005 at 12:23:26PM +0200, Klaus Robert Suetterlin wrote: > > Hi, > > > > I supply a patch that dehardcodes the path to bash (which is not /bin > > on all computers) and adds sys/limits.h to pr

Re: HOWTO: PATCH: don't hardcode path-to-bash, use sys/limits.h

2005-04-21 Thread Alecs King
every sytem has , i think is the rite place to go. The patch below tested on both debian and fbsd. commit 2deea74db72fb57a8b80e7945f23814112b22723 tree 0c92ac3af53457b6b9651cf82d98ce3a7b166dcd parent cd1c034369b73da7503da365fa556aab27004814 author Alecs King 1114075114 +0800 committer Alecs King