c - unix gcc file overwrite -


i did stupid during development.

i wrote on terminal

gcc source.c -o source.c 

instead of

gcc source.c -o source.bin  

or that

i editing file using nano.is there way restore ? either using possible autosaves or decompile .?

i did myself not long ago. luckily still had emacs editor opened re-save file. can't recover source object file unfortunately. check around in source file's directory files named special characters, perhaps beginning "."


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -