History

Revert "Make ex1.c and ex4.c be executable on any systems"

Using /usr/bin/env tcc doesn't work as it was reported. Revert to using the full path which fails if the user installs tcc in non-default location. Then again this is just an example. This reverts commit 27a428cd0fae475d7377e1dbe218c064ee217d85.

grischka committed 14 years ago

Commit ad5f3751 parent 27d38bf2 files · +2 −2Browse files

Unified · Split

2 files
  1. examples/ex1.c +1 −1
  2. examples/ex4.c +1 −1
examples/ex1.c+1−1
@@ -1,4 +1,4 @@
1−#!/usr/bin/env tcc -run
1+#!/usr/local/bin/tcc -run
22 #include <tcclib.h>
33
44 int main()
examples/ex4.c+1−1
@@ -1,4 +1,4 @@
1−#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11
1+#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
22 #include <stdlib.h>
33 #include <stdio.h>
44 #include <X11/Xlib.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t