TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Darin McBride
from: Neil Heller
date: 2003-05-25 10:58:02
subject: Linux and GCC

DM> Thus, "foo" is just a file, but if it has the execute bit set,...

DM> Certain conventions exist for executable source code (such as shell
DM> scripts  or perl scripts),...

Which bring another question to mind.  If I write a program that prompts 
the user for a file name, and then pass that name directly to fopen() 
must that file name have "./" prepended if the target file is in the 
same directory as the executable and that directory is not in the path?

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.