From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: argv[0] wrong for DEC Unix dynamic images
Date: Fri, 17 May 1996 11:14:02 +0200 (MET DST) [thread overview]
Message-ID: <9605171146.AA07870@nova.tat.physik.uni-tuebingen.de> (raw)
running DEC Unix images using shared libs shows a problem with argv[0].
this is important for "virtex" which tries to open `argv[0]`.fmt as
TeX format file.
-------------------------------------------------------------------------------
main(int argc, char *argv[])
{
for (;argc--;) printf("'%s'\n",*argv++);
}
-------------------------------------------------------------------------------
when this program is compiled using DEC cc and run on Linux I get:
# ./a.out
'/sbin/loader'
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
next reply other threads:[~1996-05-17 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-17 9:14 Harald Koenig [this message]
1996-05-18 9:33 ` argv[0] wrong for DEC Unix dynamic images Linus Torvalds
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox