WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: appbrowser-cli patch  (Read 2735 times)

Offline batnas

  • Full Member
  • ***
  • Posts: 122
appbrowser-cli patch
« on: March 26, 2010, 09:46:46 AM »
Hi

I found a bug in appbrowser-cli; it cant search.

The problem is on line 498:
Code: [Select]
snprintf(tmppath,PATH_MAX,"/usr/bin/search.sh tcz %s 2>/dev/null",searchmsg);
I have fixed  it by changing the line to:
Code: [Select]
snprintf(tmppath,PATH_MAX,"/usr/bin/search.sh %s >>/dev/null",searchmsg); 8)

It works. I have compiled it using the build-app-cli.sh script after installed compiletc.tcz

It would be cool if it could be submitted, as i use appbrowser-cli a lot on MC, and missing a search function is very annoying ;)

\\Batnas
« Last Edit: April 02, 2010, 07:58:59 AM by batnas »

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: appbrowser-cli patch
« Reply #1 on: March 26, 2010, 10:18:41 AM »
there is a cli version of appbrowser in tc base, it's called ab
dCore user

Offline batnas

  • Full Member
  • ***
  • Posts: 122
Re: appbrowser-cli patch
« Reply #2 on: March 26, 2010, 10:24:07 AM »
yes, but i like the layout of appbrowser-cli. Can you read Files and Dep's in ab??

And i'm running MC


\\Batnas

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: appbrowser-cli patch
« Reply #3 on: March 26, 2010, 11:54:26 AM »
Hi, confirmed and fixed, thanks for reporting.
The only barriers that can stop you are the ones you create yourself.

Offline batnas

  • Full Member
  • ***
  • Posts: 122
Re: appbrowser-cli patch
« Reply #4 on: March 26, 2010, 01:22:59 PM »
Your welcome ;)