--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jk0urn$f6m$1@dough.gmane.org">http://lists.debian.org/jk0urn$f6m$1@dough.gmane.org
03-17-2012, 10:28 AM
Mark Neidorff
zpipe.c: the zlib example
On Friday 16 March 2012 11:02:15 pm T o n g wrote:
> Hi,
>
> I believe that zpipe.c used to be working.
> But it is still working now?
>
> I get it compiled OK,
>
> gcc -g -lz -o zpipe zpipe.c
>
> but wasn't able to run it:
>
> $ ./zpipe
> bash: ./zpipe: Permission denied
>
Are the permissions of the file correct?
$chmod 755 zpipe
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201203170728.04520.mark@neidorff.com">http://lists.debian.org/201203170728.04520.mark@neidorff.com
03-17-2012, 12:43 PM
Lorenzo Beretta
zpipe.c: the zlib example
Il 17/03/2012 04:10, T o n g ha scritto:
Hi,
I believe that zpipe.c used to be working.
But it is still working now?
I get it compiled OK,
gcc -g -lz -o zpipe zpipe.c
but wasn't able to run it:
$ ./zpipe
bash: ./zpipe: Permission denied
I get the same result even I put an output immediately after main:
/* compress or decompress from stdin to stdout */
int main(int argc, char **argv)
{
fputs("zpipe 1
", stderr);