We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3615212 commit 98b1af6Copy full SHA for 98b1af6
decompression4.c
@@ -29,7 +29,7 @@ char decr1[]=".decompressed";
29
fd2=open(open_encr,O_RDONLY);
30
if(fd2!=0)
31
printf("ENCRYPTED FILE IS OPENED\n");
32
- fd3=open(decr,O_RDWR);
+ fd3=open(decr,O_RDWR | O_CREAT);
33
if(fd3!=0)
34
{
35
printf("main file is opened\n");
0 commit comments