From 75c81b64a9d2b5f02dec6224e70ccac68e784d33 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 1 Apr 2012 13:04:50 -0500 Subject: [PATCH] whoami: Remove OpenB*OS version * Was replaced by coreutils whoami, and options are the same. --- src/bin/Jamfile | 1 - src/bin/whoami.c | 21 --------------------- 2 files changed, 22 deletions(-) delete mode 100644 src/bin/whoami.c diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 3fb534a375..75aea891ae 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -55,7 +55,6 @@ StdBinCommands unchop.c uptime.cpp vmstat.cpp -# whoami.c : : $(haiku-utils_rsrc) ; # Commands which don't need another library that depend on diff --git a/src/bin/whoami.c b/src/bin/whoami.c deleted file mode 100644 index 2210b49cea..0000000000 --- a/src/bin/whoami.c +++ /dev/null @@ -1,21 +0,0 @@ -// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -// -// Copyright (c) 2002, OpenBeOS -// -// This software is part of the OpenBeOS distribution and is covered -// by the OpenBeOS license. -// -// -// File: whoami.c -// Author: Sandor Vroemisse (svroemisse@users.sf.net) -// Description: standard Unix whoami command -// -// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ - -#include -#include - -int main( int argc, char ** argv ) { - printf( "%s\n", getlogin() ); - return 0; -}