bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH][RFC] New 'true' program


From: Felipe W Damasio
Subject: [PATCH][RFC] New 'true' program
Date: Sat, 20 Nov 2004 00:03:05 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040927

        Hey,

        The current true program is an amazing-bloated thing.

        It's 13K on my gentoo's *stripped* version.

Please tell why can't you consider the attached 'true' implementation attached?

It's semantically _equivalent_ to the current 'true' code on coreutils, since it's just a off-the-top simple program the returns EXIT_SUCCESS.

        The regular executable is 6.7K, and the stripped version is 3.2K.

        I can write the man page, if you consider using this code.

        Please CC me, as I'm not subscribed on this list.

        Thanks,

Felipe
/* Exit with a status code indicating success.

   Copyright (C) 2004 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software Foundation,
   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

   Author: Felipe Damasio <address@hidden>
*/

#include <stdio.h>
#include <stdlib.h>

int
main (int argc, char **argv)
{
  exit (EXIT_SUCCESS);
}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]