ChangeLog 108 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365
  1. 2002-12-12 Pavel Roskin <proski@gnu.org>
  2. * extfs/patchfs.in: Print 4-digit year. If str2time is not
  3. available, use current time, not 0.
  4. 2002-12-12 Andrew V. Samoilov <sav@bcs.zp.ua>
  5. * extfs/urar.in: rar lists directories after files, so sort "list"
  6. command output by names to prevent duplications.
  7. 2002-12-12 Pavel Roskin <proski@gnu.org>
  8. * extfs/urar.in: Strengthen quoting. Don't use full path to rar
  9. and unrar. Don't redirect stderr to /dev/null.
  10. * extfs/uar.in: Simplify "list" command, don't use current year.
  11. Use more careful quoting.
  12. 2002-12-12 Adam Byrtek <alpha@debian.org>
  13. * extfs/apt.in: Add non-interactive remove using dpkg.
  14. 2002-12-11 Adam Byrtek <alpha@debian.org>
  15. * extfs/apt.in: Add 1 to the month number. Perl localtime()
  16. uses range 0..11 while extfs expects range 1..12.
  17. * extfs/deba.in: Likewise.
  18. * extfs/debd.in: Likewise.
  19. * extfs/dpkg.in: Likewise.
  20. * extfs/audio: Move ...
  21. * extfs/audio.in: ... here. Add CDDB support.
  22. * extfs/Makefile.am: Adjust for the above.
  23. 2002-12-11 Pavel Roskin <proski@gnu.org>
  24. * extfs/mailfs: Try using UnixDate() from Date::Manip if it's
  25. available. Warning fix.
  26. 2002-12-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  27. * extfs/patchfs: Use quotemeta() before giving filename to
  28. shell.
  29. * vfs.c (mc_stat): Make first argument const.
  30. (mc_lstat): Likewise.
  31. * vfs.h: Adjust declarations and remove some useless defines.
  32. 2002-12-10 Pavel Roskin <proski@gnu.org>
  33. * extfs/a: Enable Perl warnings. Ignore entries without a date.
  34. Warning fixes. Don't redirect stderr to /dev/null - it doesn't
  35. mess the screen now.
  36. 2002-12-09 Adam Byrtek <alpha@debian.org>
  37. * extfs/patchfs: Rewritten in Perl. File size is now displayed
  38. properly.
  39. 2002-12-09 Pavel Roskin <proski@gnu.org>
  40. * extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
  41. * extfs/ucpio.in: Remove, it's obsoleted by cpio.c.
  42. * extfs/Makefile.am: Remove all references to them.
  43. * extfs/extfs.ini: Likewise.
  44. * extfs.c (__find_entry): When creating entries for regular
  45. files, set initial permissions to S_IFREG | 0666. This fixes
  46. problems with viewing and editing newly added files.
  47. * extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
  48. 2002-12-08 Pavel Roskin <proski@gnu.org>
  49. * extfs/uar.in: Fix "copyin" command.
  50. 2002-12-06 Pavel Roskin <proski@gnu.org>
  51. * extfs.c (extfs_open): Don't run "copyout" if the file just has
  52. been created or O_TRUNC is given in the flags.
  53. Reported by Adam Byrtek 'alpha' <alpha@irc.pl>
  54. * extfs/uar.in: Implement "copyin" and "rm" commands.
  55. 2002-12-06 Andrew V. Samoilov <sav@bcs.zp.ua>
  56. * extfs.c: Don't include ../src/profile.h.
  57. (extfs_open): Remove local_filename if copyout fails.
  58. 2002-12-05 Pavel Roskin <proski@gnu.org>
  59. * extfs.h: Remove "extfsstat" from struct archive - it's unused
  60. outside open_archive(). Adjust the dependencies.
  61. * extfs.c: Make hstat local variable.
  62. * sfs.c: Remove "uid" from struct cachedfile - it's unused now.
  63. * vfs.h: Remove vfs_uid and vfs_gid. Fix all dependencies.
  64. 2002-12-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  65. * extfs.c (open_archive): Use open_error_pipe before popen() and
  66. close_error_pipe() if popen() fails to handle stderr.
  67. (read_archive): Use close_error_pipe() after pclose().
  68. 2002-12-05 Pavel Roskin <proski@gnu.org>
  69. * ftpfs.c: Define INADDR_NONE if it's not already defined.
  70. Needed for Solaris 9.
  71. Reported by Roman Dorokhin <dorokhin@cybermail.net>
  72. 2002-12-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  73. * extfs.c (open_archive): Don't use open_error_pipe() and
  74. close_error_pipe() - it gets stuck on output that exceeds 4
  75. kilobytes.
  76. 2002-12-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  77. * extfs.c (open_archive): Use open_error_pipe() and
  78. close_error_pipe() to prevent stderr from extfs scripts pollute
  79. the screen.
  80. (extfs_cmd): New function to run extfs scripts and handle stderr
  81. in one place.
  82. (extfs_open): Use extfs_cmd().
  83. (extfs_close): Likewise.
  84. (extfs_unlink): Likewise.
  85. (extfs_mkdir): Likewise.
  86. (extfs_rmdir): Likewise.
  87. 2002-12-01 Pavel Roskin <proski@gnu.org>
  88. * extfs/Makefile.am: Add uzip to EXTFS_OUT.
  89. 2002-11-16 Pavel Roskin <proski@gnu.org>
  90. * mcserv.c (do_classic_auth): Restore support for shadow
  91. passwords. Use crypt() instead of pw_encrypt() - the later is
  92. missing on Slackware 8.0. Reported by
  93. Christian Laubscher <christian.laubscher@tiscalinet.ch>
  94. * Makefile.am: Consolidate mcserv libraries into MCSERVLIBS.
  95. 2002-11-15 Pavel Roskin <proski@gnu.org>
  96. * mcserv.c: Include getopt.h, don't redefine optarg.
  97. * names.c: Only leave actually used functions.
  98. * ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1.
  99. 2002-11-12 Pavel Roskin <proski@gnu.org>
  100. * fish.c (fish_which): Remove.
  101. 2002-11-12 Andrew V. Samoilov <sav@bcs.zp.ua>
  102. * ftpfs.c (linear_abort): Close data socket dsock.
  103. 2002-11-11 Pavel Roskin <proski@gnu.org>
  104. * vfs.h [USE_VFS] (mc_setctl): Specify argument types.
  105. * cpio.c (cpiofs_data): Warning fix in initization.
  106. * tar.c (tarfs_data): Likewise.
  107. * vfs.c: Leave only necessary includes from ../src.
  108. 2002-11-10 Pavel Roskin <proski@gnu.org>
  109. * vfs.c: Make the last argument to MC_OP non-empty in the
  110. definition of MC_HANDLEOP. Needed for Mac OS X.
  111. Reported by Wim Rijnders <wimrijnders@home.nl>
  112. 2002-11-08 Pavel Roskin <proski@gnu.org>
  113. * extfs/a: Set environment to force date and time format
  114. suitable for VFS. Fix support for long filenames with spaces.
  115. 2002-11-06 Andrew V. Samoilov <sav@bcs.zp.ua>
  116. * smbfs.c (new_dir_entry): Initialize st_ino, so recursive
  117. directory copying is possible now.
  118. * vfs.c (mc_get_current_wd): Make sure returned string is null
  119. terminated.
  120. 2002-11-03 Pavel Roskin <proski@gnu.org>
  121. * vfs.c: Remove unused code.
  122. * vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
  123. 2002-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  124. * fish.c: Use name_quote() to quote filenames.
  125. (file_store): Close localname on error.
  126. 2002-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  127. * ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
  128. expects the client to close it.
  129. 2002-10-13 Pavel Roskin <proski@gnu.org>
  130. * vfs.h: Remove tar_gzipped_memlimit.
  131. From Christian Laubscher <christian.laubscher@tiscalinet.ch>
  132. 2002-10-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  133. * smbfs.c (fake_share_stat): Make sure share exists by
  134. smbfs_get_path() and fill buf with realistic data
  135. if current_share_info is NULL. Reformat function.
  136. (smbfs_get_path): Add const qualifier to path.
  137. 2002-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  138. * smbfs.c: Allow username in URL (/#smb:[user@]machine) and
  139. reformat changed functions.
  140. (smbfs_get_host_and_username): Fix comment.
  141. (smbfs_fill_names): Add username@ before hostname.
  142. (smbfs_open_link): Use IPC$ if share is empty.
  143. (smbfs_get_path): Pass remote_path to smbfs_open_link().
  144. (smbfs_stat): Copy username@ to server_url if passed.
  145. 2002-10-07 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  146. * ftpfs.c (linear_abort): Add a timeout after which a reconnect
  147. is performed instead of further fetching of the remaining data.
  148. 2002-10-07 Pavel Roskin <proski@gnu.org>
  149. * direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
  150. of non-portable snprintf().
  151. Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
  152. 2002-10-04 Pavel Roskin <proski@gnu.org>
  153. * mcfs.c (mcfs_lseek): Explicity cast offset to int. This fixes
  154. viewing and editing files on mcfs.
  155. * tcputil.c: Split mcfs-specific part to
  156. * mcfsutil.c: ... this.
  157. * tcputil.h: Split mcfs-specific part to
  158. * mcfsutil.h: ... this.
  159. * Makefile.am: Add mcfsutil.c and mcfsutil.h.
  160. * mcserv.c: Define own got_sigpipe, which is always 0, since
  161. mcserv doesn't call tcp_init().
  162. * Makefile.am: Don't link mcserv with glib. It's unreasonable
  163. to require a glib port for embedded systems mcserv may run on.
  164. * mcserv.c: Replace all glib calls with standard libc calls.
  165. * tcputil.c (rpc_get): Likewise.
  166. * mcserv.c (get_client): Don't try to find the address family
  167. from the hostname. Always use AF_INET, because everything else
  168. is unsupported.
  169. 2002-10-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  170. * sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
  171. 2002-10-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  172. * xdirentry.h: Comment out magic field everywhere.
  173. 2002-10-01 Pavel Roskin <proski@gnu.org>
  174. * Makefile.am (VFSHDRS): Remove container.h.
  175. * tcputil.c (check_hooks): Remove, it does nothing. Also remove
  176. all related data structures.
  177. * tcputil.c (get_remote_port): Move to mcfs.c.
  178. (send_string): Move to mcserv.c.
  179. (rpc_add_get_callback): Remove, it's unused.
  180. * container.h: Remove, it's unused.
  181. * utilvfs.c: Remove tests, since get_host_and_username() is
  182. missing.
  183. * mcfs.c (open_tcp_link): Make static.
  184. * tcputil.h: Remove unused definitions.
  185. 2002-09-29 Pavel Roskin <proski@gnu.org>
  186. * direntry.c (vfs_s_retrieve_file): Allow interrupt by Ctrl-C.
  187. From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
  188. 2002-09-26 Pavel Roskin <proski@gnu.org>
  189. * sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
  190. messages in other places.
  191. 2002-09-25 Pavel Roskin <proski@gnu.org>
  192. * vfs.c (vfs_parse_filemode): Fix parsing for filenames that
  193. begin with a number.
  194. From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
  195. 2002-09-24 Andrew V. Samoilov <sav@bcs.zp.ua>
  196. * smbfs.c: Undef USE_NCURSES - no needs to include *curses.h.
  197. (smbfs_loaddir): Fix warning.
  198. 2002-09-21 Pavel Roskin <proski@gnu.org>
  199. * mcfs.c: Move config.h to the beginning.
  200. 2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
  201. * tcputil.c [!WITH_MCFS]: Disable mcfs related code.
  202. * mcfs.c [!WITH_MCFS]: Disable all code.
  203. 2002-09-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  204. * smbfs.c: Don't define BOOL_DEFINED to fix compilation on
  205. SunOS 5.8.
  206. 2002-09-13 Andrew V. Samoilov <sav@bcs.zp.ua>
  207. * (get_stat_info): Fix some possible NULL dereferences.
  208. * smbfs.c (smbfs_set_debugf): New function to specify
  209. logfile.
  210. * smbfs.h: Declare smbfs_set_debugf().
  211. 2002-09-12 Pavel Roskin <proski@gnu.org>
  212. * mcserv.c: Declare crypt if crypt.h is missing and we are not
  213. using PAM.
  214. 2002-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  215. * smbfs.c (statfile_helper): Merge with loaddir_helper().
  216. (get_remote_stat): Use loaddir_helper(). Care about
  217. single_entry instead of eliminated statfile_helper().
  218. * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
  219. parameter to (*fn)() and void *state parameter.
  220. (cli_list): Likewise.
  221. (cli_RNetShareEnum): Likewise. Return int.
  222. * samba/include/proto.h: Adjust declarations.
  223. * smbfs.c: Adjust all helpers and dependencies.
  224. From Samba patchsets.
  225. * smbfs.c (loaddir_helper): Remove write permissions if file
  226. has readonly attribute. Add execute permissions for directory.
  227. Reformat whole function.
  228. (statfile_helper): Likewise.
  229. (server_browsing_helper): Add execute permissions. Reformat.
  230. (browsing_helper): Likewise.
  231. 2002-09-10 Pavel Roskin <proski@gnu.org>
  232. * vfs.h: Remove BROKEN_PATHS, it's unused.
  233. * Make-alone.am: Get rid of all standalone code, it has been
  234. unmaintained for years.
  235. 2002-09-05 Pavel Roskin <proski@gnu.org>
  236. * direntry.c [!USE_NETCODE]: Disable functions used in networked
  237. filesystems only.
  238. * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
  239. * ftpfs.c: Check for existance of arpa/inet.h when using it.
  240. * mcfs.c: Likewise.
  241. * mcserv.c: Likewise.
  242. * tcputil.c: Likewise.
  243. * utilvfs.c: Likewise.
  244. 2002-09-03 Pavel Roskin <proski@gnu.org>
  245. * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
  246. password reliably.
  247. 2002-09-02 Andrew V. Samoilov <sav@bcs.zp.ua>
  248. * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
  249. set my_errno to EINVAL - temporary fix. Reformat function.
  250. 2002-09-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  251. * samba/param/loadparm.c: Add global_scope variable.
  252. (parm_table): Add netbios scope parameter.
  253. * samba/lib/util.c: Remove scope variable. Use global_scope instead.
  254. * samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
  255. use global_scope instead.
  256. * samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
  257. * samba/include/proto.h: Adjust make_nmb_name() declaration.
  258. From samba 2.0.7 patchset.
  259. * samba/param/loadparm.c (lp_adduser_script): Commented out.
  260. (lp_deluser_script): Likewise.
  261. (lp_add_printer): Likewise.
  262. (lp_add_one_printer): Likewise.
  263. * samba/lib/util.c (reduce_name): Likewise.
  264. (transfer_file): Likewise.
  265. * smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
  266. 2002-08-26 Pavel Roskin <proski@gnu.org>
  267. * extfs/urar.in: Use rar if unrar is missing.
  268. From PLD Linux Distribution.
  269. * extfs/a: Use more portable way to redirect all output to
  270. /dev/null. From PLD Linux Distribution.
  271. 2002-08-24 Pavel Roskin <proski@gnu.org>
  272. * vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
  273. error messages.
  274. 2002-08-23 Pavel Roskin <proski@gnu.org>
  275. * Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
  276. libraries.
  277. 2002-08-22 Pavel Roskin <proski@gnu.org>
  278. * mcserv.c: Remove old-style Linux-only support for shadow
  279. passwords.
  280. * Makefile.am: Remove reference to SHADOWLIB.
  281. 2002-08-21 Andrew V. Samoilov <sav@bcs.zp.ua>
  282. * ftpfs.c (dir_load): Don't handle empty remote_path in special
  283. way.
  284. 2002-08-19 Pavel Roskin <proski@gnu.org>
  285. * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow.
  286. * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
  287. child if execvp() fails.
  288. * sfs.c: Don't use flag EXECUTE_SETUID because it's being
  289. removed as insecure and EXECUTE_WAIT because it has no effect.
  290. * extfs.c: Likewise.
  291. * mcfs.c [!WITH_MCFS]: Disable most code.
  292. 2002-08-18 Pavel Roskin <proski@gnu.org>
  293. * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit.
  294. 2002-08-15 Pavel Roskin <proski@gnu.org>
  295. * vfs.c (mc_def_getlocalcopy): Preserve existing extension.
  296. * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
  297. strcpy().
  298. * extfs.c (s_readdir): Simplify.
  299. * direntry.c (vfs_s_readdir): Use vfs_dirent.
  300. * mcfs.c (mcfs_readdir): Likewise.
  301. * smbfs.c (smbfs_readdir): Likewise.
  302. * undelfs.c (undelfs_readdir): Use vfs_dirent and
  303. compute_namelen().
  304. * vfs.h: Introduce union vfs_dirent to ensure that we have
  305. enough space for the filename.
  306. * extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
  307. * direntry.c (vfs_s_readdir): Use compute_namelen().
  308. * extfs.c (s_readdir): Likewise.
  309. * mcfs.c (mcfs_readdir): Likewise.
  310. * smbfs.c (smbfs_readdir): Likewise.
  311. 2002-08-14 Pavel Roskin <proski@gnu.org>
  312. * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
  313. to fix warnings.
  314. 2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
  315. * smbfs.c (myumask): Removed. It is only written and never read.
  316. (smbfs_init): Use PATH_SEP_STR and reformat.
  317. 2002-08-01 Pavel Roskin <proski@gnu.org>
  318. * mcserv.c: Remove all references to MAD.
  319. * vfs.c: Likewise.
  320. 2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
  321. * samba/libsmb/clientgen.c (cli_send_tconX): Add missing
  322. unix_to_dos() call.
  323. (cli_printjob_del): Commented out.
  324. (cli_print_queue): Ditto.
  325. * samba/lib/system.c (sys_waitpid): Ditto.
  326. * samba/lib/util.c (reg_split_key): Ditto.
  327. (reg_get_subkey): Ditto.
  328. 2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
  329. * samba/configure.in: Don't check for union semun.
  330. * samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
  331. declare union semun.
  332. 2002-07-26 Pavel Roskin <proski@gnu.org>
  333. * direntry.c (vfs_s_find_entry_linear): Canonicalize path before
  334. searching.
  335. 2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
  336. * xdirentry.h (vfs_s_fh.u.fish): Add append field.
  337. * fish.c (fish_fh_open): Care about append.
  338. (linear_open): Likewise.
  339. (fish_store): Append data to target file if append is true.
  340. * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
  341. file to fix compilation.
  342. (main): Add mad_init() and mad_finalize().
  343. 2002-07-19 Pavel Roskin <proski@gnu.org>
  344. * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
  345. * fish.c: Likewise.
  346. (dir_load): Update SUP.cwdir.
  347. * xdirentry.h: Remove "home" field for fish and ftpfs.
  348. * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
  349. * direntry.c: Likewise.
  350. * fish.c: Likewise.
  351. * ftpfs.c: Likewise.
  352. * fish.c (fish_fill_names): New function, replacement for
  353. generic vfs_s_fill_names() which didn't work right with fish.
  354. * undelfs.c (undelfs_opendir): Use parametrized messages without
  355. VFS name for success and failure.
  356. * fish.c (dir_load): Use new messages from undelfs.c, indicate
  357. success by printing "done".
  358. * ftpfs.c (dir_load): Likewise.
  359. 2002-07-15 Pavel Roskin <proski@gnu.org>
  360. * cpio.c (cpio_read_crc_head): Undo change in the error message.
  361. * ftpfs.c: Replace bzero and bcopy with memset and memcpy.
  362. * mcfs.c: Likewise.
  363. * mcserv.c: Likewise.
  364. * smbfs.c: Likewise.
  365. * tar.c: Likewise.
  366. 2002-07-14 Pavel Roskin <proski@gnu.org>
  367. * fish.c (open_archive_int): Don't combine "export" and
  368. assignment into one command - it's not portable. Set LC_TIME
  369. to "C" as well.
  370. * fish.c (open_archive_int): Set remote locale to C, otherwise
  371. timestamps cannot be parsed in some locales.
  372. 2002-07-12 Pavel Roskin <proski@gnu.org>
  373. * fish.c (file_store): Reduce input block size to 256 bytes,
  374. otherwise dd gets partial blocks.
  375. * ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
  376. * ftpfs.c (ftp_split_url): Implement looking up password in
  377. .netrc for known user.
  378. * ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
  379. return a username.
  380. (netrc_has_incorrect_mode): Don't free anything, it can result
  381. in freeing some variables twice.
  382. (find_machine): New function to find matching "machine" or
  383. "default" token.
  384. (lookup_netrc): Eliminate external loop - scan for login and
  385. password, but don't fallback to another string in case of
  386. trouble.
  387. * ftpfs.c: Introduce enum keyword_t to improve readability.
  388. (netrc_next): Fix return value for unknown keywords.
  389. (lookup_netrc): Remove special processing of "*netrc*".
  390. * ftpfs.c (ftp_split_url): Move protection against pass being
  391. NULL ...
  392. (lookup_netrc): ... here.
  393. 2002-07-11 Pavel Roskin <proski@gnu.org>
  394. * xdirentry.h: Eliminate use_proxy field.
  395. * ftpfs.c (open_archive_int): Use SUP.proxy instead of
  396. SUP.use_proxy.
  397. (open_archive): Set SUP.proxy to ftpfs_proxy_host.
  398. * ftpfs.h: Eliminate unused structures.
  399. * vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
  400. * utilvfs.c (vfs_split_url): Return NULL as username if
  401. URL_ALLOW_ANON is set and no username is found in the URL,
  402. otherwise use current name.
  403. * ftpfs.c (ftp_split_url): New function - split URL and look up
  404. username and password if needed.
  405. (login_server): Use ftp_split_url().
  406. (archive_same): Likewise.
  407. 2002-07-10 Pavel Roskin <proski@gnu.org>
  408. * tcputil.h: Move use_netrc declaration ...
  409. * vfs.h: ... here.
  410. * ftpfs.c: Implement .netrc support unconditionally.
  411. (lookup_netrc): Make static.
  412. * utilvfs.c: Initialize default_is_netrc.
  413. From Thomas Zajic <zlatko@gmx.at>
  414. * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
  415. this flag is for VFS only, and causes side effects in Cygwin.
  416. * extfs.c (extfs_open): Likewise.
  417. * sfs.c (sfs_open): Likewise.
  418. Reported by Pavel Tsekov <ptsekov@gmx.net>
  419. 2002-07-03 Pavel Roskin <proski@gnu.org>
  420. * ftpfs.c (setup_passive): Cast arguments to isdigit() to
  421. unsigned char for compatibility with non-GNU libc.
  422. * tar.c (from_oct): Likewise with isspace().
  423. Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
  424. 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
  425. * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
  426. instead of #vfsname/filename/dir. Use PATH_SEP_STR.
  427. * sfs.c (sfs_free): Fix memory leak.
  428. (sfs_init): Use PATH_SEP_STR.
  429. 2002-07-03 Pavel Roskin <proski@gnu.org>
  430. * cpio.c (cpio_open_cpio_file): Fix type initialization.
  431. From Andrew V. Samoilov <kai@cmail.ru>
  432. 2002-07-02 Pavel Roskin <proski@gnu.org>
  433. * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
  434. extfs. Remove parts that are now handled by samba/Makefile.
  435. * samba/Makefile.in: Add more empty targets for Automake
  436. compatibility.
  437. * ftpfs.c (send_ftp_command): Use "anonymous@" as default
  438. anonymous password.
  439. From Eduardo Perez Ureta <eperez@it.uc3m.es>
  440. 2002-06-25 Pavel Roskin <proski@gnu.org>
  441. * vfs.c: Add protection against NULL strings to all is_*()
  442. functions.
  443. 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
  444. * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
  445. PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
  446. before including "samba/include/config.h" to prevent warnings.
  447. (smbfs_init): Set DEBUGLEVEL to 0.
  448. (do_connect): Rename to ...
  449. (smbfs_do_connect): ... this to avoid namespace clash and
  450. make static. Make server const. Adjust all callers.
  451. (smbfs_add_dots): Remove.
  452. (smbfs_stat): Remove code duplication.
  453. (smbfs_lstat): Define as smbfs_stat.
  454. * samba/lib/system.c (sys_ftruncate): Commented out.
  455. * samba/lib/util.c (set_filelen): Likewise.
  456. (setbuffer): Likewise.
  457. * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
  458. * samba/tests/ftruncate.c: Removed.
  459. * samba/configure.in: Don't check if ftruncate() can
  460. extend a file.
  461. 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
  462. * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
  463. of char*[]. Remove unneeded casts. Fix error message.
  464. (cpio_create_entry): G_free name. Fix offset calculation
  465. for symbolic links.
  466. 2002-05-22 Pavel Roskin <proski@gnu.org>
  467. * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
  468. it breaks "make distcheck".
  469. * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
  470. to override the default.
  471. 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
  472. * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
  473. (vfs_s_data.file_store): Change second argument
  474. to (vfs_s_fh *fh).
  475. * direntry.c (vfs_s_close): Adjust.
  476. * fish.c (file_store): Likewise.
  477. * ftpfs.c (file_store): Likewise. Use "APPE" if
  478. fh->u.ftp.append is true.
  479. (linear_start): Care about fh->u.ftp.append.
  480. (ftpfs_fh_open): Likewise.
  481. * fish.c (fish_fh_open): Generate fh->ino->localname
  482. if this one is NULL and file is opened for writting only.
  483. * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
  484. is true.
  485. 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
  486. * direntry.c (vfs_s_retrieve_file): Please, care about
  487. fish.local_stat ...
  488. * fish.c (linear_close): ... here.
  489. * ftpfs.c (linear_read): Unset control_connection_buzy on EOF.
  490. (ftpfs_fh_close): Call vfs_s_invalidate ().
  491. * fish.c (fish_fh_open): Don't retrieve file if it is
  492. opened for writting only.
  493. 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
  494. * xdirentry.h (vfs_s_super): Add control_connection_buzy
  495. field to ftp struct.
  496. * ftpfs.c (linear_start): Set control_connection_buzy.
  497. (linear_abort): Unset control_connection_buzy.
  498. (ftpfs_fh_open): Don't retrieve file if it is
  499. opened for writting only. Open data connection as
  500. fh->handle and unlink/unset local temporary file
  501. if control connection isn't buzy.
  502. (ftpfs_fh_close): New function to serve opened in
  503. ftpfs_fh_open() data connection. Unset fh->changed
  504. to prevent MEDATA->file_store() call from vfs_s_close().
  505. * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
  506. (vfs_s_open): ... here.
  507. * samba/include/includes.h: Eliminate all references to
  508. HAVE_LIBREADLINE.
  509. 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
  510. * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
  511. if USE_SAMBA_FS is true.
  512. (libvfs-mc.a): Don't merge object files with libsamba.a.
  513. 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
  514. * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
  515. * vfs.c (MC_RENAMEOP): Make arguments const.
  516. * vfs.h (mc_rename): Adjust declaration.
  517. (mc_link): Likewise.
  518. 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
  519. * samba/configure.in: Add AC_SYS_LARGEFILE.
  520. Don't check atexit, setreuid, setregid, setegid and setluid.
  521. 2002-04-31 Pavel Roskin <proski@gnu.org>
  522. * samba/acconfig.h: Remove.
  523. * Makefile.am: Remove references to samba/acconfig.h.
  524. * samba/Makefile.in: Likewise.
  525. * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
  526. * samba/configure.in: Add descriptions to AC_DEFINE calls.
  527. Remove unused tests.
  528. * samba/include/includes.h: Cleanup for the symbols that
  529. samba/configure.in doesn't define.
  530. * samba/lib/netmask.c: Likewise.
  531. * samba/include/includes.h: Eliminate all references to
  532. HAVE_EXPLICIT_LARGEFILE_SUPPORT.
  533. * samba/lib/system.c: Likewise.
  534. 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
  535. * vfs.c (vfs_print_stats): s/transfered/transferred/
  536. * samba/lib/signal.c: Remove.
  537. * samba/lib/debug.c (sig_usr2): Commented out.
  538. (sig_usr1): Likewise.
  539. * samba/lib/util_file.c (gotalarm): Commented out.
  540. (gotalarm_sig): Likewise.
  541. (do_file_lock): Likewise.
  542. (file_lock): Likewise.
  543. (file_unlock): Likewise.
  544. (startfilepwent): Likewise.
  545. (endfilepwent): Likewise.
  546. * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
  547. * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
  548. 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
  549. * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
  550. 2002-04-12 Pavel Roskin <proski@gnu.org>
  551. * extfs/trpm: update to work with rpm 4.x.
  552. Reported by m.lusini@palazzochigi.it
  553. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
  554. 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
  555. * cpio.c (cpio_skip_padding): Handle old ASCII format.
  556. 2002-04-08 Pavel Roskin <proski@gnu.org>
  557. * samba/configure.in: Require Autoconf 2.52 to make Debian
  558. wrapper around Autoconf happy.
  559. From Björn Eriksson <bjorn@bjornen.nu>
  560. 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
  561. * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
  562. (vfs_s_retrieve_file): Set fh->handle to -1.
  563. (vfs_s_read): Don't manipulate with FH->handle if it is -1.
  564. (vfs_s_write): Likewise.
  565. (vfs_s_close): Likewise.
  566. 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
  567. * samba/lib/debug.c: Remove syslog support.
  568. 2002-02-19 Pavel Roskin <proski@gnu.org>
  569. * Makefile.am: Don't compile mcserv if VFS is disabled.
  570. * extfs/Makefile.am: Don't install anything if VFS is disabled.
  571. * extfs.c (extfs_open): Only create a new entry if it has not
  572. been found and O_CREAT is set. Consider file as changed only
  573. if it has been successfully created.
  574. (extfs_getlocalcopy): Open file only for reading. This prevents
  575. marking file as changed. Actually use the has_changed argument.
  576. Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
  577. 2002-02-12 Pavel Roskin <proski@gnu.org>
  578. * extfs/lslR.in: Fix parsing of old entries (with year number).
  579. From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
  580. 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
  581. * direntry.c (vfs_s_retrieve_file): Use off_t for total
  582. and stat_size.
  583. (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
  584. * vfs.c (vfs_print_stats): Use off_t for have and need.
  585. Cast `have' to double to eliminate negative percent(s).
  586. Fix print_vfs_message string formats.
  587. * vfs.h (vfs_print_stats): Adjust declaration.
  588. * ftpfs.c (file_store): Use off_t for total.
  589. Fix print_vfs_message string format.
  590. 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
  591. * ftpfs.c (dir_load): Speed up cd_first calculation.
  592. (ftpfs_flushdir): Resurrect.
  593. 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
  594. * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
  595. to eliminate problem with wu-ftpd.
  596. Close sock on error. Eliminate goto.
  597. (ftpfs_chmod): Don't ignore errors.
  598. (reconnect): Restore cwdir if login_server fails.
  599. 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
  600. * ftpfs.c (translate_path): Remove leading slash(es) more
  601. carefully.
  602. (initconn): Check getsockname() return value.
  603. Eliminate goto.
  604. (linear_abort): Make ipbuf const array.
  605. 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
  606. * ftpfs.c (reconnect): New function to restore closed connection.
  607. (command): Use reconnect if EPIPE received.
  608. (dir_load): Eliminate recursion.
  609. (login_server): Constify netrcpass parameter.
  610. (is_same_dir): Constify path parameter.
  611. * samba/lib/charset.c (cp_850): Make const array.
  612. (cp_932): Ditto.
  613. (codepage_p): Likewise.
  614. * samba/lib/debug.c (priority_map): Make const array.
  615. * samba/lib/username.c (get_home_dir): Make pass auto.
  616. * samba/lib/util.c (become_daemon): Commented out.
  617. (yesno): Likewise.
  618. 2002-01-24 Pavel Roskin <proski@gnu.org>
  619. * cpio.c: Don't include glib.h directly.
  620. 2002-01-22 Pavel Roskin <proski@gnu.org>
  621. * extfs/uzip: Fix unsafe printf.
  622. Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
  623. 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
  624. * ftpfs.c (ftpfs_chmod): Add missed '/'.
  625. 2002-01-21 Pavel Roskin <proski@gnu.org>
  626. * vfs.h: Remove all tricks with system headers, they all should
  627. be in global.h.
  628. * cpio.c: Include utilvfs.h earlier.
  629. * tar.c: Likewise.
  630. * vfs.h: Include dirent.h only if it's present.
  631. 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
  632. * vfs.h: Spelled.
  633. * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
  634. returns. Make mc_return_cwd static const char *.
  635. Reorder if statement to eliminate unneeded mc_stat calls.
  636. 2002-01-17 Pavel Roskin <proski@gnu.org>
  637. * vfs.h: Remove OS/2 specific code.
  638. 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
  639. * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
  640. if smbfs support is enabled.
  641. * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
  642. 2002-01-02 Pavel Roskin <proski@gnu.org>
  643. * Makefile.am: Add *clean-local targets to take care of the
  644. samba directory.
  645. * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
  646. this setting is not inherited from the top-level configure.
  647. 2001-12-31 Pavel Roskin <proski@gnu.org>
  648. * Make-mc.in: convert to ...
  649. * Makefile.am: ... this.
  650. * Makefile.am: rename to ...
  651. * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
  652. and Makefile.am to coexist peacefully unless the former is
  653. generated from the later.
  654. * Make-mc.in: Remove all references to the standalone VFS.
  655. 2001-12-18 Pavel Roskin <proski@gnu.org>
  656. * extfs/ulha.in: Support for "[unknown]" and other permissions
  657. in brackets. Pass the date unchanged - mc can now deal with it.
  658. Use "lha lq" to list the archive and don't remove headers and
  659. footers of the listing.
  660. 2001-11-14 Pavel Roskin <proski@gnu.org>
  661. * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
  662. 1.20 and newer.
  663. 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
  664. * samba/acconfig.h: Remove WITH_SYSLOG.
  665. * samba/lib/system.c (sys_chroot): Removed.
  666. * samba/configure.in: Remove RUNPROG. Don't check
  667. for chroot and execl functions.
  668. Remove syslog logging support.
  669. Add --with-codepagedir and --with-configdir from samba 2.2.2.
  670. * samba/Makefile.in: Use configdir and codepagedir.
  671. 2001-11-08 Pavel Roskin <proski@gnu.org>
  672. * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
  673. 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
  674. * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
  675. entries into the linked list.
  676. (smbfs_loaddir): Call smbfs_add_dots for shares or servers.
  677. (smbfs_get_free_bucket): Eliminate time.
  678. (fake_share_stat): Make path const.
  679. * samba/configure.in: Don't check whether getpass
  680. should be replaced.
  681. 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
  682. * vfs.c (mc_return_cwd): Memory leak fixed.
  683. 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
  684. * samba/smblib/pwd_cache.c (pwd_read): Commented out.
  685. * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
  686. * samba/lib/getsmbpass.c: Removed.
  687. 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
  688. * smbfs.c: Include <config.h> before everything else.
  689. Don't include "tcputil.h".
  690. (myhostname): Declare extern.
  691. (loaddir): Symplify.
  692. (fake_share_stat): Declare server_url const.
  693. Use "%4o" for st_mode.
  694. (fake_server_stat): Likewise. Return -1 if server_list != True.
  695. (get_master_browser): Declare ipzero extern.
  696. By David Kaelbling <drk@sgi.com>.
  697. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  698. * cpio.c (cpio_read_bin_head): Release name if mc_read fails.
  699. (cpio_read_crc_head): Likewise.
  700. 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
  701. * cpio.c (cpio_read_crc_head): Fix buffer overflow.
  702. (cpio_read_oldc_head): Likewise.
  703. By David Kaelbling <drk@sgi.com>.
  704. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  705. * (cpio_read_oldc_head): Release name if mc_read fails.
  706. 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
  707. * tcputil.c (rpc_get): Add missing va_end()s.
  708. Fix memory leaking.
  709. * smbfs.h: Declare smbfs_set_debug.
  710. 2001-10-20 Pavel Roskin <proski@gnu.org>
  711. * ftpfs.c (command): Declare with the printf attribute.
  712. * undelfs.c: Remove declaration of print_vfs_message().
  713. * fish.c (file_store): Fix incorrect format string
  714. for print_vfs_message().
  715. * ftpfs.c (file_store): Likewise.
  716. 2001-10-19 Pavel Roskin <proski@gnu.org>
  717. * fish.c (command): Declare with the printf attribute to enable
  718. warnings in gcc.
  719. (file_store): Cast all expressions with file sizes to unsigned
  720. long. This should fix uploading when large file support is on.
  721. File size is limited to 4096 * ULONG_MAX for now.
  722. 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
  723. * samba/configure.in: Don't check readline.h, history.h and
  724. libreadline.
  725. 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
  726. * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
  727. "out of server memory" error. From samba 2.0.7 patchset.
  728. 2001-10-07 Pavel Roskin <proski@gnu.org>
  729. * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
  730. are not supported locally. Support Solaris doors, also fall
  731. back to fifo.
  732. 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
  733. * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
  734. instead.
  735. 2001-10-01 Pavel Roskin <proski@gnu.org>
  736. * vfs.h [!USE_VFS]: Define macros with no effect to an empty
  737. statement "do { } while (0)".
  738. 2001-09-30 Pavel Roskin <proski@gnu.org>
  739. * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
  740. 2001-09-17 Pavel Roskin <proski@gnu.org>
  741. * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
  742. mc_fstat() because they don't expand correctly on Solaris 8 with
  743. large file support.
  744. 2001-09-10 Pavel Roskin <proski@gnu.org>
  745. * Make-mc.in: Use USE_VFS conditional instead of relying on
  746. LIBVFS.
  747. 2001-09-07 Pavel Roskin <proski@gnu.org>
  748. * Make-mc.in: Include necessary parts of Make.common to
  749. eliminate the later.
  750. 2001-08-23 Pavel Roskin <proski@gnu.org>
  751. * names.c (finduname): Don't use HAVE_GETPWUID - it's never
  752. defined. Don't redeclare getpwuid().
  753. (findgname): Don't use HAVE_GETGRGID - it's never defined.
  754. Don't redeclare getgrgid().
  755. * fish.c: Remove useless semicolons after functions.
  756. 2001-08-19 Pavel Roskin <proski@gnu.org>
  757. * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
  758. Disallow st_nlink = 0.
  759. 2001-08-18 Pavel Roskin <proski@gnu.org>
  760. * cpio.c (cpio_read_head): Check return value of cpio_find_head,
  761. because it's not equal to super->u.cpio.type in case of errors.
  762. 2001-08-16 Pavel Roskin <proski@gnu.org>
  763. * direntry.c (vfs_s_free_super): Remove i18n on commented out
  764. developer-only code.
  765. * extfs.c (extfs_init): Internationalize error message, it's
  766. already in sfs.c.
  767. 2001-08-11 Pavel Roskin <proski@gnu.org>
  768. * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
  769. 2001-08-07 Pavel Roskin <proski@gnu.org>
  770. * extfs.h: Move private structures ...
  771. * extfs.c: ... here.
  772. * extfs.h (struct entry): Remove unused `has_changed' field.
  773. It's only written but never read.
  774. (struct inode): Likewise.
  775. * extfs.c: All dependencies changed.
  776. (extfs_open): Mark file as changed if it's open for writing.
  777. 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
  778. * extfs/uzip: Update to version 1.4.0.
  779. * extfs/README.uzip: Likewise.
  780. 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
  781. * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
  782. gives malloced filename, so this memory must be released after use.
  783. (reconnect): Fix segmentation fault.
  784. (smbfs_loadddir): Don't g_strdup path.
  785. (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
  786. smbfs_connections initialisation.
  787. (smbfs_open_link): Likewise. Release host after get_master_browser.
  788. (get_stat_info): Fix unneeded g_strdup/g_free calls.
  789. (smbfs_mkdir): Release path after use.
  790. (smbfs_mkdir): Likewise.
  791. (smbfs_open): Fix memory leak.
  792. (smbfs_unlink): Likewise. Fix error message.
  793. (smbfs_rename): Fix memory leaks.
  794. (smbfs_stat): Fix url parsing.
  795. * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
  796. (dos2unix_format): Likewise.
  797. * ftpfs.c (ftpfs_fill_names): New function.
  798. (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
  799. 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
  800. * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
  801. * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
  802. * ftpfs.h (struct connection): Remove result_pending field.
  803. * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
  804. * smbfs.c (new_dir_entry): New function with repeated code from
  805. browsing_helper, loaddir_helper and server_browsing_helper.
  806. (browsing_helper): Use new_dir_entry.
  807. (loaddir_helper): Likewise.
  808. (server_browsing_helper): Likewise.
  809. (cached_lstat_info): Eliminated.
  810. (smbfs_readdir): Make dirent_dest static const.
  811. Eliminate cached_lstat_info.
  812. (smbfs_open_link): Make user parameter const. Fix memory leak.
  813. (fake_server_stat): Make path parameter const. Symplify.
  814. (smbfs_fstat): Set my_errno to EFAULT before return.
  815. 2001-08-01 Pavel Roskin <proski@gnu.org>
  816. * Make-mc.in: Make it possible to run "make install" before
  817. "make all". Use more Automake-compatible target names.
  818. 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
  819. * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
  820. (do_connect): Symplify.
  821. (get_stat_info): Symplify. Eliminate another fake_stat.
  822. (smbfs_chdir): Release remote_dir after use.
  823. (smbfs_stat): Likewise. Fix another 2 memory leaks.
  824. (smbfs_mkdir): Release remote_file after use.
  825. (smbfs_rmdir): Likewise.
  826. (smbfs_open): Likewise. Indentation fixes.
  827. (smbfs_unlink): Likewise.
  828. (smbfs_rename): Release rb and ra after use.
  829. (search_dir_entry): Make text parameter const.
  830. (smbfs_get_host_and_username): Make macro.
  831. 2001-07-20 Pavel Roskin <proski@gnu.org>
  832. * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
  833. From Ludovic Drolez <ludovic.drolez@freealter.com>.
  834. 2001-07-17 Pavel Roskin <proski@gnu.org>
  835. * vfs.c (mc_return_cwd): Use g_get_current_dir().
  836. 2001-07-15 Pavel Roskin <proski@gnu.org>
  837. * smbfs.c: Rename authinfo to smb_authinfo and
  838. authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
  839. and remove their definitions.
  840. * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
  841. 2001-07-10 Pavel Roskin <proski@gnu.org>
  842. * extfs.c: Include contents of shared_tar_ext.c - it's no
  843. longer shared.
  844. * shared_tar_ext.c: Remove.
  845. * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
  846. * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
  847. filesystem. Don't translate it.
  848. 2001-07-09 Pavel Roskin <proski@gnu.org>
  849. * tar.c (ReadStatus): Fix compilation on AIX.
  850. From Dan McNichol <mcnichol@austin.ibm.com>.
  851. * extfs/mailfs: Strip trailing DOS newlines from mail files.
  852. From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
  853. * fish.c (fish_chown): Do nothing and return success if
  854. getpwuid() or getgrgid() fails.
  855. 2001-07-05 Pavel Roskin <proski@gnu.org>
  856. * README.fish: Spelling fixes.
  857. 2001-06-29 Pavel Roskin <proski@gnu.org>
  858. * Make-mc.in: Don't ever link mcserv with libintl - it must not
  859. depend on it.
  860. 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
  861. * smbfs.c: Include <config.h>. Make all internal variables static.
  862. (get_stat_info): Eliminate fake_stat, memory leak fixed.
  863. (IPC, URL_HEADER): Make static const.
  864. (smbfs_stat): Fix segmentation violation.
  865. (statfile_helper): Allocate memory for single_entry once. It is never
  866. freed now, and only my_stat element of this structure is used.
  867. 2001-06-26 Pavel Roskin <proski@gnu.org>
  868. * vfs.h: Don't include <config.h>.
  869. 2001-06-25 Pavel Roskin <proski@gnu.org>
  870. * cpio.c: Include <config.h> before everything else.
  871. * direntry.c: Likewise.
  872. * fish.c: Likewise.
  873. * ftpfs.c: Likewise.
  874. * local.c: Likewise.
  875. * tar.c: Likewise.
  876. * utilvfs.h: Don't include <config.h> - it should be included
  877. in all C files instead.
  878. * xdirentry.h: Likewise.
  879. 2001-06-19 Pavel Roskin <proski@gnu.org>
  880. * local.c (local_telldir): Warn and abort if telldir() is not
  881. available.
  882. (local_seekdir): Warn and abort if seekdir() is not available.
  883. 2001-06-18 Pavel Roskin <proski@gnu.org>
  884. * tcputil.c (sig_pipe): Use the same declaration with one int
  885. argument - it's used everywhere else and it fixes a warning on
  886. systems unlisted in the ifdef, e.g. OpenBSD.
  887. 2001-06-14 Pavel Roskin <proski@gnu.org>
  888. * ftpfs.c: Declare functions without declarations static. Don't
  889. omit `void' in declarations.
  890. * cpio.c: Likewise.
  891. * direntry.c: Likewise.
  892. * extfs.c: Likewise.
  893. * mcfs.c: Likewise.
  894. * tar.c: Likewise.
  895. * vfs.c: Likewise.
  896. * vfs.h: Likewise.
  897. * mcserv.c: Likewise. Remove unused functions.
  898. * util-alone.c: Use indented #error.
  899. * vfs.h: Use indented #warning instead of hiding it from non-gcc
  900. compilers.
  901. 2001-06-11 Pavel Roskin <proski@gnu.org>
  902. * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
  903. This avoids creating long filenames in dirent.c when the "name"
  904. field is used.
  905. * extfs.c (vfs_extfs_ops): Likewise.
  906. * fish.c (vfs_fish_ops): Likewise.
  907. * ftpfs.c (vfs_ftpfs_ops): Likewise.
  908. * local.c (vfs_local_ops): Likewise.
  909. (vfs_nil_ops): Likewise.
  910. * mcfs.c (vfs_mcfs_ops): Likewise.
  911. * sfs.c (vfs_sfs_ops): Likewise.
  912. * tar.c (vfs_tarfs_ops): Likewise.
  913. * undelfs.c (vfs_undelfs_ops): Likewise.
  914. 2001-06-07 Pavel Roskin <proski@gnu.org>
  915. * sfs.c (sfs_init): Change some warning messages to simplify
  916. their translation.
  917. 2001-06-06 Pavel Roskin <proski@gnu.org>
  918. * shared_ftp_fish.c: Remove.
  919. * Make-mc.in: Remove shared_ftp_fish.c.
  920. * Makefile.am: Likewise.
  921. 2001-06-02 Pavel Roskin <proski@gnu.org>
  922. * vfs.c (vfs_canon): s/canonize/canonicalize/.
  923. 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  924. * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
  925. ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
  926. * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
  927. exclusive now.
  928. (is_week): Unmade week static.
  929. (is_month): Unmade month static.
  930. (vfs_parse_ls_lga): Optimize memory usage.
  931. * .cvsignore: *.sor added.
  932. * sfs.c (sfs_init): Optimized.
  933. * vfs/samba/lib/util_sock.c (socket_options): Made static const.
  934. 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
  935. * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
  936. use mc_home to make mc relocatable.
  937. * util-alone.c (shell): ... here
  938. 2001-05-27 Pavel Roskin <proski@gnu.org>
  939. * fish.c: Redirect stderr of all commands to /dev/null.
  940. 2001-05-25 Pavel Roskin <proski@gnu.org>
  941. * sfs.c (vfs_sfs_ops): Typo fix.
  942. 2001-05-22 Pavel Roskin <proski@gnu.org>
  943. * vfs.c (vfs_split_text): Fill `columns' with zeroes before
  944. writing new data into it.
  945. * fish.c (free_archive): Use `exit' instead of `logout' - the
  946. later fails under non-login shells.
  947. (pipeopen): Redirect stderr of ssh to /dev/null.
  948. From Rich Roth:
  949. (dir_load): Redirect stderr of ls to /dev/null.
  950. (linear_start): Likewise.
  951. 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  952. * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
  953. (clean): Remove *.so.
  954. * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
  955. ../src/tty.h and ../src/global.h.
  956. (password, username): Made static.
  957. (is_error): Commented out.
  958. (loaddir_helper): Don't ignore hidden files, style fixes.
  959. (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
  960. (do_connect): Call cli_shutdown () and authinfo_remove () if
  961. cli_session_setup () fails. It is not good idea to remember
  962. wrong username/password.
  963. (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
  964. (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
  965. 2001-05-22 Pavel Roskin <proski@gnu.org>
  966. * sfs.c (redirect): Don't free the filename after failed
  967. mc_mkstemps() - it's not needed anymore.
  968. 2001-05-21 Pavel Roskin <proski@gnu.org>
  969. * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
  970. temporary file to reserve its name on the filesystem.
  971. (vfs_s_retrieve_file): Use mc_mkstemps().
  972. (g_tempnam): Remove.
  973. * extfs.c (extfs_open): Use mc_mkstemps().
  974. * sfs.c (redirect): Likewise.
  975. * shared_ftp_fish.c (_get_file_entry): Likewise.
  976. (retrieve_file): Likewise.
  977. * vfs.c (mc_def_getlocalcopy): Likewise.
  978. * xdirentry.h: Remove declaration of g_tempnam().
  979. 2001-05-18 Pavel Roskin <proski@gnu.org>
  980. * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
  981. with NULL to suppress compiler warning.
  982. 2001-05-14 Pavel Roskin <proski@gnu.org>
  983. * ftpfs.c: Warning fixes.
  984. * utilvfs.h: Include background.h.
  985. * cpio.c: Include utilvfs.h.
  986. 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
  987. * Make-mc.in: add possibility to build libvfs.so
  988. 2001-04-19 Pavel Roskin <proski@gnu.org>
  989. * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
  990. rpm output varies between versions.
  991. (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
  992. filenames beginning with "./" - they are used in the version 4
  993. packages.
  994. 2001-04-17 Pavel Roskin <proski@gnu.org>
  995. * fish.c (open_archive_int): Redirect stderr of start_fish_server
  996. to stdout so we don't get confused if it doesn't exist.
  997. 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  998. * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
  999. NULL when suitable error message can't be found as it is expected
  1000. in cli_errstr(). Return type changed to const char *
  1001. * smbfs.c (smbfs_fill_names): implemented
  1002. (smbfs_stat): unneeded g_strdup/g_free calls removed
  1003. (smbfs_loaddir): memory leaking fixed
  1004. * samba/libsmb/clientgen.c (rap_errmap, prots): constified
  1005. 2001-04-06 Pavel Roskin <proski@gnu.org>
  1006. * Make-mc.in: Use a single variable SAMBA_DIST to hold all
  1007. distributable samba files.
  1008. 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1009. * samba/libsmb/smbdes.c: undefine uchar before redefine it
  1010. * smbfs.c (smbfs_close): honour changed semantics for return value
  1011. (on error -1 is expected).
  1012. * (fs): it is at least strange use char * for counter. Changed to int
  1013. 2001-03-14 Pavel Roskin <proski@gnu.org>
  1014. * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
  1015. Remove any knowledge of SAMBAFILES. Merge object files with
  1016. libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
  1017. to the `samba' directory. Don't ignore errors from ranlib.
  1018. * samba/Makefile.in: Make *clean targets Automake-compatible.
  1019. Don't ignore errors from `rm'.
  1020. * samba/configure.in: Use AC_CHECK_TOOL to find AR.
  1021. * samba/Makefile.in: Remove useless rules, including defunct
  1022. dependency tracking. Create libsamba.a from the object files.
  1023. 2001-03-07 Pavel Roskin <proski@gnu.org>
  1024. * cpio.c (cpio_skip_padding): Warning fix.
  1025. * fish.c (dir_load): Likewise.
  1026. * mcfs.c: Likewise.
  1027. * extfs/uzip: New file from Oskar Liljeblad.
  1028. * extfs/README.uzip: Likewise.
  1029. * extfs/Makefile.am: Adjust for constant uzip.
  1030. 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
  1031. * extfs/*uzip*: replace uzip with perl version by
  1032. Oskar Liljeblad <osk@hem.passagen.se>
  1033. 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  1034. * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
  1035. (vfs_strip_suffix_from_filename): filename constified
  1036. (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
  1037. chomping unified
  1038. 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  1039. * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
  1040. so use LC_ALL=C to override any locale
  1041. * smbfs.c (smbfs_open_link): service initialized
  1042. * (my_forget): new features of vfs_split_url used
  1043. 2001-03-01 Pavel Roskin <proski@gnu.org>
  1044. * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
  1045. Reported by Christian Gennerat.
  1046. 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
  1047. * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
  1048. 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
  1049. * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
  1050. "K. Leif D. Van Horn" <leif@kaivo.com>)
  1051. 2001-02-23 Pavel Roskin <proski@gnu.org>
  1052. * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
  1053. Don't hardcode gawk. Don't rely on the date format occupying a
  1054. fixed number of fields.
  1055. * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
  1056. the real file - check usage info instead. Use more robust checks
  1057. for valid lines. Suppress stderr from unzip. Workaround for jar
  1058. files - fix mode for files ending with slash.
  1059. 2001-02-20 Pavel Roskin <proski@gnu.org>
  1060. * vfs.h: Include sys/timeb.h if it's present. Include time.h and
  1061. sys/time.h as recommended by Autoconf documentation.
  1062. * cpio.c: Remove all time-related includes - they are in vfs.h.
  1063. * extfs.c: Likewise.
  1064. * ftpfs.c: Likewise.
  1065. * mcfs.c: Likewise.
  1066. * mcserv.c: Likewise.
  1067. * tar.c: Likewise.
  1068. * util-alone.c: Likewise.
  1069. * vfs.c: Likewise. Include xdirentry.h.
  1070. * extfs.c: Include xdirentry.h. Undefine ERRNOR before
  1071. redefining it.
  1072. 2001-02-19 Pavel Roskin <proski@gnu.org>
  1073. * shared_tar_ext.c (__find_entry): Make sure that the parent is a
  1074. directory even if the child is not.
  1075. * extfs/mailfs (parse_date): Correctly handle two-digit years
  1076. between 1970 and 1999.
  1077. 2001-02-14 Pavel Roskin <proski@gnu.org>
  1078. * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
  1079. checking for ctime() format.
  1080. From Peter Daum.
  1081. 2001-02-11 Pavel Roskin <proski@gnu.org>
  1082. * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
  1083. for dates found in AOLMail(SM) messages. Accept single-digit
  1084. hours and missing seconds. Provide a fallback if cannot parse
  1085. the date.
  1086. (process_header): Typo fix. Use \s instead of space in regular
  1087. expressions.
  1088. 2001-02-10 Pavel Roskin <proski@gnu.org>
  1089. * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
  1090. including the directory bit. This fixes crashes on some FAT
  1091. archives.
  1092. 2001-02-09 Pavel Roskin <proski@gnu.org>
  1093. * samba/configure.in: Remove more useless tests.
  1094. * samba/tests/crypttest.c: Remove.
  1095. * samba/tests/fcntl_lock.c: Likewise.
  1096. * samba/tests/shared_mmap.c: Likewise.
  1097. * samba/tests/sysv_ipc.c: Likewise.
  1098. * samba/samba-files: Likewise.
  1099. * samba/smbadduser: Likewise.
  1100. * Make-mc.in: Adjust for the above.
  1101. * samba/include/includes.h: Removed definitions related to the
  1102. above tests.
  1103. * Make-mc.in: Eliminate ubiqx.
  1104. * samba/Makefile.in: Likewise. Remove some unused variables.
  1105. * samba/include/includes.h: Eliminate dependency on ubiqx.
  1106. * samba/include/nameserv.h: Likewise.
  1107. * samba/include/proto.h: Remove prototypes from nmbd/*.
  1108. * samba/ubiqx/*: Remove.
  1109. * samba/configure.in: More useless stuff removed.
  1110. * samba/Makefile.in: Likewise.
  1111. * Make-mc.in: Remove samba/smbwrapper directory.
  1112. * samba/smbwrapper/smbw.h: Remove.
  1113. * samba/include/includes.h: Don't include smbw.h.
  1114. * samba/configure.in: Don't check for things that are unused.
  1115. Remove support for building shared libraries.
  1116. * samba/Makefile.in: Remove support for shared libraries and
  1117. quota.
  1118. * samba/configure.in: Don't check for any 64-bit functions and
  1119. syscall() - they are not needed.
  1120. * samba/configure.in: Remove the test for
  1121. HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
  1122. the rest of the source that doesn't use explicit 64-bit calls.
  1123. * Make-mc.in: Always check for samba/Makefile before descending
  1124. there. Don't ever ignore errors from "cd". Use $(MAKE), not
  1125. make. Formatting changes.
  1126. 2001-02-08 Pavel Roskin <proski@gnu.org>
  1127. * Make-mc.in: Undo previous fix. Don't run "make clean" in
  1128. samba/ if samba/Makefile is missing.
  1129. * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
  1130. may be missing. Clean using the rule from samba/Makefile.in.
  1131. * cpio.c: Eliminate C++ comments.
  1132. * fish.c: Likewise.
  1133. * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
  1134. since CVS Automake already creates that directory.
  1135. * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
  1136. testing - it breaks on HP-UX 10.20.
  1137. 2001-02-07 Pavel Roskin <proski@gnu.org>
  1138. * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
  1139. samba/tests/ftruncroot.c.
  1140. * samba/configure.in: Remove tests for setresuid and setresgid.
  1141. * samba/include/includes.h: Remove declarations of setresuid and
  1142. setresgid.
  1143. * samba/configure.in: Don't check for root permissions. Don't
  1144. call tests/trapdoor.c and tests/ftruncroot.c.
  1145. * samba/tests/trapdoor.c: Remove.
  1146. * samba/tests/ftruncroot.c: Likewise.
  1147. * samba/tests/summary.c: Don't warn about trapdoor uid systems.
  1148. * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
  1149. not used.
  1150. * samba/aclocal.m4: Fix underquoting.
  1151. * samba/configure.in: Fix underquoting. Don't use loff_t as the
  1152. second argument to AC_CHECK_TYPE - it's not a builtin type.
  1153. * samba/configure.in: Remove checks for statvfs and friends -
  1154. they are irrelevant to the client code.
  1155. * samba/tests/summary.c: Likewise.
  1156. 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1157. * extfs/urar.in (list): better solution to prevent duplication
  1158. 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  1159. * extfs/urar.in (LC_ALL): set to C to prevent localization,
  1160. (mcrarfs_list): directories placed first to prevent duplication
  1161. 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1162. * ftpfs.c (dir_load): From Roland Mainz
  1163. <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
  1164. directories
  1165. * *.c: From Roland: it is not possible to g_free() something
  1166. allocated by strdup(), because g_malloc might be different for
  1167. malloc. Therefore wrapped strdup into g_strdup() wrapper.
  1168. 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  1169. * samba/libsmb/nterr.c (nt_errs): constified
  1170. * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
  1171. err_classes): ditto
  1172. (smb_errstr): err constified to avoid warnings
  1173. 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  1174. * ftpfs.c (open_data_connection): don't generate //filename, some
  1175. ftp servers can't store it;
  1176. (command): g_strdup_vprintf() and g_strconcat() replaced
  1177. by g_strdup_vprintf(), g_realloc() and strcpy()
  1178. to reduce memory usage when trailing "\r\n" added;
  1179. (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
  1180. value to log servers replies
  1181. 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  1182. * sfs.c (redirect): temporary file unlinked on error;
  1183. (sfs_init): warnings are localized
  1184. 2000-10-05 Pavel Roskin <proski@gnu.org>
  1185. * extfs/rpm: If rpm indicates an error create a virtual file
  1186. ERROR and put error messages there.
  1187. 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1188. * extfs/mcunarj.diff: better version from Christian Gennerat
  1189. <christian.gennerat@vz.cit.alcatel.fr>
  1190. 2000-09-21 Pavel Roskin <proski@gnu.org>
  1191. * extfs/uzoo.in: Suppress output from grep. Don't use '~',
  1192. use $HOME instead - it's more portable.
  1193. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1194. * extfs/Makefile.am: all scripts should be executable
  1195. 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1196. * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
  1197. override locale for dates
  1198. 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
  1199. * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
  1200. 2000-09-14 Pavel Roskin <proski@gnu.org>
  1201. * Make-mc.in: direntry.c was listed twice in VFSSRCS
  1202. * Make-mc.in: removed commands to build standalone libvfs -
  1203. they are now in Makefile.am. Create links in the build
  1204. directory - source directory may be read-only. Removed hack
  1205. with mcservx - it's no longer needed.
  1206. * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
  1207. 2000-09-05 Pavel Roskin <proski@gnu.org>
  1208. * Make-mc.in: don't ignore errors in the distdir target
  1209. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1210. * extfs/Makefile.am: new file
  1211. * Make-mc.in: remove stuff pertinent to the extfs directory
  1212. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1213. * Make-mc.in: don't ignore error installing mcserv.
  1214. Create directories before installing into them.
  1215. 2000-08-18 Pavel Roskin <proski@gnu.org>
  1216. * Make-mc.in: adjusted lists of distributed files.
  1217. Makefile rebuilding fixed.
  1218. 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1219. * ftpfs.c (dir_load): taken it out, it needs to correctly provide
  1220. parent, this way it breaks things.
  1221. * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
  1222. display zip files in fat and ntf formats
  1223. 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1224. * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
  1225. Roland.Mainz@informatik.med.uni-giessen.de
  1226. * util-alone.c (message_1s1d): added missing function
  1227. 2000-08-03 Pavel Roskin <proski@gnu.org>
  1228. * undelfs.h: Removed
  1229. 2000-08-02 Pavel Roskin <proski@gnu.org>
  1230. * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
  1231. distributed. Added some comments to prevent future errors.
  1232. "make distclean" now cleans generated filters.
  1233. * samba/configure.in: Fixed sloppy output. The fix also sent to
  1234. the Samba team.
  1235. * samba/include/stamp-h.in: Added to CVS.
  1236. 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  1237. * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
  1238. 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
  1239. * ftpfs.c: (my_get_host_and_username) space between macro name and
  1240. parentheses removed
  1241. 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1242. * tar.c (read_header): memory leaking for empty symlink's names fixed
  1243. * utilvfs.c (vfs_split_url): *host is not assigned if host is null
  1244. * ftpfs.c (login_server): new features of vfs_split_url () used,
  1245. my_get_host_and_username became macro
  1246. * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
  1247. removed (vfs_canon removes trailing '/')
  1248. * sfs.c (vfmake, redirect): allocated memory realeased on errors
  1249. 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1250. * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
  1251. 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
  1252. vfs/extfs/uha.in: add HSC type archives
  1253. 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
  1254. * direntry.c (vfs_s_inode_from_path): fix for stating / directory
  1255. done properly
  1256. * vfs.c: == 0 is right test of eof.
  1257. 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1258. * direntry.c (vfs_s_internal_stat): added ugly special case for /
  1259. of archive to always exist. It seems I'm hiding some underlying
  1260. problem :-(.
  1261. 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
  1262. * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
  1263. (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
  1264. * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
  1265. (ftpfs_directory_timeout): default value changed to 900
  1266. (netrc_next): "const char * const keywords" go to rodata and is shared
  1267. 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
  1268. * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
  1269. deadlocks with podfuk
  1270. * direntry.c: fix behaviour when stating / directory of ftp
  1271. archive
  1272. 2000-04-15 Timur Bakeyev <mc@bat.ru>
  1273. * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
  1274. * ftpfs.c (dir_load): At last, found place, that broke handling
  1275. directories with spaces in name. Problem was in prepending "/"
  1276. to "." for current directory. Which was, obviously, wrong. Hacked
  1277. to make just "LIST -la ." instead.
  1278. 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1279. * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
  1280. 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1281. * extfs/audio: Added a way to browse audio CDs conviently
  1282. * undelfs.c: use NULLs instead of 0s when you assign to pointers!
  1283. 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  1284. * utilfs.c (vfs_split_url): Don't assign *pass if pass is NULL
  1285. * fish.c (archive_open, archive_same): memory allocated by
  1286. vfs_split_url() must be released after use, don't strdup()
  1287. values allocated by vfs_split_url() and NULL passed to
  1288. vfs_split_url() when password value is unused
  1289. * ftpfs.c (archive_open, archive_same): ditto plus same for
  1290. ftpfs_get_proxy_host_and_port()
  1291. 2000-04-06 Timur Bakeyev <mc@bat.ru>
  1292. * ftpfs.c (netrc_next): Turned strange "const char * const
  1293. keywords" into more alike "const char const * keywords". Still,
  1294. think, it's too strict.
  1295. * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba
  1296. headers. Libncurses(or slang?) defines BOOL and that can cause
  1297. problems. (In fact, I can't find references to that const, but
  1298. sure, I hade reason to do that:)
  1299. * util-alone.h: Declare load_anon_passwd() to avoid warnings.
  1300. 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1301. * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
  1302. crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
  1303. * fish.c (linear_start): Name wasn't freed after usage.
  1304. * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
  1305. function return 0 now.
  1306. * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
  1307. by vfs_s_fullpath() is freed after use.
  1308. * ftpfs.c (linear_start): Ditto.
  1309. 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1310. * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
  1311. not strdupped(), so it must not be g_free'd.
  1312. 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1313. * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
  1314. fish work better with files files like "this is sentence"
  1315. 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1316. * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
  1317. locale to C so that rpm does not confuse us
  1318. 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1319. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1320. * vfs.c (vfs_parse_ls_lga): Don't hard code st_ino and st_dev to
  1321. 0's, these variables must be assigned in vfs_s_new_inode() or
  1322. extfs layer, so ftpfs subdirectories now can be copied.
  1323. 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1324. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1325. * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
  1326. mc_(un)?getlocalcopy): added const qualifier
  1327. (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
  1328. so, free() it, not g_free();
  1329. (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
  1330. 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1331. * cpio.c: cpio.h is missing, so don't try to include it. (It is
  1332. not needed, anyway. Strange.)
  1333. * Makefile.in (NONETFILES): cpio added to compilation list
  1334. 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
  1335. * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
  1336. with unexpected side effects (only when HSC_PROXY was
  1337. defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
  1338. where appropriate.
  1339. (dir_load): Do not hard code the directory cache timeout to 10
  1340. seconds. Instead use the setting from Options/Virtual VFS ...
  1341. * fish.c (file_store): honour changed semantics for return value
  1342. (on error -1 is expected).
  1343. * ftpfs.c (file_store): dito
  1344. 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1345. * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
  1346. it using code from tarfs.
  1347. 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1348. * extfs/uzip.in (nam): y2k fixes (workarounds) by
  1349. christian.gennerat@vz.cit.alcatel.fr
  1350. 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1351. * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
  1352. 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  1353. * xdirentry.h: added prototype for vfs_s_retrieve_file
  1354. 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1355. * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
  1356. for broken symlinks like 2001 -> The Space Oddysea.
  1357. 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1358. * ftpfs.c: vfs semantics has some problems with ~s. What will
  1359. happen if we just don't go to home directory of user? (We used to
  1360. have /#ftp:hobit/~/ mean home directory of anonymous at
  1361. hobit. Thats pretty broken.)
  1362. * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
  1363. message
  1364. * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
  1365. 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1366. * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
  1367. from Andrew V. Samoilov
  1368. 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1369. * extfs.c (extfs_chdir): removed unneeded statment, plus applied
  1370. cosmetics fixes from Andrew V. Samoilov
  1371. 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
  1372. * extfs/deb.in: Change to the deb vfs. tar has changed, and
  1373. depending on the version, it saves files as "./filename" or
  1374. "filename".
  1375. * From debian: added deba, debd, dpkg, apt script file systems.
  1376. 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
  1377. * vfs.c (vfs_parse_filedate): don't decode last columns as year
  1378. 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
  1379. * vfs/vfs.h: use #warning only for gcc. Not all compilers
  1380. understand it
  1381. 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1382. * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
  1383. mostly internationalization + fixing stupid bugs of mine
  1384. 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1385. * ftpfs.c: basically replaced ftpfs with new one. Unlike the
  1386. previous one, this uses new direntry.c layer, so shared_ftp_fish.c
  1387. can be killed.
  1388. This is new code, so beware.
  1389. 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1390. * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
  1391. value, too. This code is going to be killed, the sooner the better.
  1392. * *.c (mc_[un]getlocalcopy): we really need some return value,
  1393. because we can have errors
  1394. * fish.c: don't use directory expiration, it does not work,
  1395. use retrieve_file from direntry.c
  1396. 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
  1397. * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
  1398. name has to be malloced.
  1399. 1999-10-07 Miguel de Icaza <miguel@gnu.org>
  1400. * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
  1401. <lav@yars.free.net> that makes the code compliant to RFC959
  1402. 1999-08-30 Miguel de Icaza <miguel@gnu.org>
  1403. * ftpfs.c (insert_dots): Use g_new here.
  1404. * shared_ftpfs_fish.c: Style fixes and small fixes
  1405. 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
  1406. * extfs/uzip.in: Better handling of zip-archives that contain files
  1407. which contain spaces.
  1408. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1409. * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
  1410. * mcserv.c: removed definition of mad_strconcat which is also
  1411. in mad.c.
  1412. 1999-09-17 Federico Mena Quintero <federico@redhat.com>
  1413. * smbfs.c: #define NO_CONFIG_H before including the samba
  1414. includes; this way it will not re=define HAVE_LIBREADLINE. This
  1415. situation sucks. Should we change the names of the widget.h
  1416. history_*() functions?
  1417. 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
  1418. * smbfs.c (various places): Store filenames in memory with the unix
  1419. character set and convert it back to the dos character set when
  1420. filenames are passed back to the samba server. If samba is configured
  1421. correctly this will fix the problems with filenames which contain
  1422. national characters.
  1423. (bucket_set_authinfo): Set domain, username and password which will
  1424. be used to log on and authenticate against the samba server and remember
  1425. this information on a host/share basis. If set use PASSWD to get the
  1426. password. If already authenticated against the host and share use this
  1427. information. If already authenticated against host and IPC$ use this
  1428. information. If neither of the former is true ask the user how to
  1429. log on.
  1430. (authinfo_get_authinfo_from_user): New function. Query the user for
  1431. domain, username and password to use for authentication.
  1432. (authinfo_free): New function. Free memory in authentication structure.
  1433. (authinfo_free_all): New function. Free the list used to remember
  1434. authentication information.
  1435. (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
  1436. Helper functions used to search the authentication list.
  1437. (authinfo_add): New function. Add one authentication entry to the
  1438. authlist.
  1439. (authinfo_remove): New function. Remove one entry from the authlist.
  1440. (free_bucket): Free memory associated with one bucket.
  1441. (smbfs_get_free_bucket): Initialize the complete connection array
  1442. with 0. Free the memory allocated for a bucket and initialize the
  1443. bucket before reusing it.
  1444. (smbfs_open_link): use new functions to get authentication information
  1445. (get_stat_info, smbfs_stat): remove unused variables.
  1446. 1999-08-31 Federico Mena Quintero <federico@redhat.com>
  1447. * extfs/uzip.in: Handle filenames with spaces better. Thanks to
  1448. Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
  1449. for the patch.
  1450. 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1451. * ftpfs.c (translate_path): Remove static buffer from here.
  1452. Return a strdupped string now.
  1453. (send_ftp_command): Release translate_path result here.
  1454. (open_data_connection): Release translate_path result here.
  1455. (ftpfs_chdir_internal): Release it here too.
  1456. 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
  1457. * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
  1458. have been written one slot past the supplied character array).
  1459. * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
  1460. strange symlinks (ls -la doesn't reveal where the symlink points to
  1461. and ls -lLa doesn't resolve the symlink either)
  1462. Added protection against recursive symbolic links.
  1463. 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1464. * smbfs.c: added missing include file
  1465. (browsing_helper): use g_strdup instead of g_new + pstrcpy
  1466. (Btw. this is an example why the handholding of smblib gives a
  1467. false security feeling. pstrcpy limits the number of characters
  1468. copied and is used with a buffer which is smaler than the hard
  1469. coded limit in pstrcpy)
  1470. (loaddir_helper): ditto
  1471. (server_browsing_helper): ditto
  1472. (get_remote_stat): fixed memory leaks
  1473. (smbfs_loaddir): ditto
  1474. (get_stat_info): ditto
  1475. (smbfs_stat): ditto
  1476. (convert_path): rewritten, now it's much cleaner what it does.
  1477. This rewrite was necessary because gcc -O2 choked on glibc 2.1
  1478. systems. In that combination strncat is a macro which expands to
  1479. strlen and strcat and in vfs/samba/include/includes.h the latter is
  1480. defined to __ERROR__XX__NEVER_USE_STRCAT___;.
  1481. 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
  1482. * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
  1483. needed. In rare cases a pointer was freed twice. Pavel Machek
  1484. pointed this out a while ago but obviously it hasn't been fixed yet.
  1485. * sfs.c (vfmake): Quote characters with a special meaning to the
  1486. shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
  1487. your full path has the space character in it.).
  1488. 1999-08-17 Kjartan Maraas <kmaraas@online.no>
  1489. * fish.c: Fix typo.
  1490. 1999-08-15 David Martin <dmartina@usa.net>
  1491. * vfs.c (vfs_print_stats): Translate vfs stats
  1492. * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
  1493. * fish.c: Translate messages
  1494. 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
  1495. * tar.c (read_header): Don't segfault when a symlink points to the
  1496. root directory.
  1497. 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
  1498. * vfs.c: Don't close a function definition with "};". SunCC from
  1499. 2.5.1 chokes on the extra semicolon
  1500. (mc_munmap): Don't dereference function pointer when checking for
  1501. NULL (this check is supposed to prevent a segfault instead of
  1502. causing one). This haven't got noticed up to now becaue there's no
  1503. file system with mmap but without munmap.
  1504. Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
  1505. * samba/include/config.h: Removed. Should be generated.
  1506. Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
  1507. * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
  1508. when builddir != srcdir. Removed some junk after not coherent patching.
  1509. 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1510. * Make-mc.in (distcopy): Added a bunch of new lists of files for
  1511. the directories in vfs/samba. Use them in this rule, because
  1512. plain wildcards will not work right.
  1513. (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
  1514. files.
  1515. Added smbfs.[ch] to the list of sources.
  1516. 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
  1517. * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
  1518. as well as the dependencies.
  1519. 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1520. * smbfs.c (get_remote_stat): Change debug level.
  1521. (get_stat_info): 2 line fixes from Wayne to check the
  1522. cache properly. WOOOOHOOOO! Works like a charm.
  1523. 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
  1524. * vfs/smbfs.c: New file. Implements the Samba-based file system.
  1525. * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
  1526. * vfs/vfs.c (vfs_file_is_smb): implemented.
  1527. (vfs_init) register smbfs.
  1528. * vfs/samba: Incorporate SAMBA source code required for smbfs
  1529. Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1530. * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
  1531. make a difference between "LIST -la" and "LIST -lLa". If we find such
  1532. a server don't use -lLa when resolving symbolic links.
  1533. 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
  1534. * urar.in, uzip.in: patches to use in #urar and #uzip the new features
  1535. added in mc-4.5.31 (unlink, mkdir, rmdir)
  1536. 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1537. * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
  1538. by debian mantainer
  1539. 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1540. * extfs/uzip.in (nam): Handle new unzips.
  1541. Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1542. * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
  1543. (i.e. not even "." and "..") check whether the directory is empty
  1544. or not existend (instead of failing with "ftpfs: failed").
  1545. 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1546. * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
  1547. instead of 'S'.
  1548. (vfs_parse_ls_lga): do not silently ignore parsing errors.
  1549. Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1550. * extfs.c (extfs_open): tempnam returns a malloced string, no need
  1551. to strdup it
  1552. (various places): use free instead of g_free to free string returned
  1553. by tempnam.
  1554. 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1555. * urar.in, uzip.in: rolled in patches from "christian.gennerat"
  1556. <christian.gennerat@vz.cit.alcatel.fr> for better handling of
  1557. spaces and copyin-feature-addon.
  1558. 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1559. * extfs.c (get_path_from_entry): Fix a crash here.
  1560. 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
  1561. * extfs.c (extfs_unlink):
  1562. (extfs_mkdir):
  1563. (extfs_rmdir):
  1564. (remove_entry): New functions.
  1565. (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
  1566. Add descriptions for these to the extfs README.
  1567. 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1568. * Make-mc.in (DISTVFS): try to distribute files needed for
  1569. building libvfs.so alone
  1570. (EXTFS_MISC): include uarj and unarj.diff in distribution
  1571. 1999-04-08 Owen Taylor <otaylor@redhat.com>
  1572. * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
  1573. up "TMP RACE" comments so they are at least secure,
  1574. if not terribly robust.
  1575. 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
  1576. * added copy_in capability to mtools filesystem
  1577. 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1578. * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
  1579. if they exist.
  1580. * mcserv.c: #include <sys/wait.h>
  1581. (get_client): Put `#ifdef __EMX__' around an otherwise-unused
  1582. variable.
  1583. * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
  1584. comparing characters.
  1585. * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
  1586. * extfs.c (extfs_init): Assign `key' to c, not `&key'.
  1587. Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1588. * vfs.h (vfs_translate_url): Fixed the macro which is used when
  1589. compiling without vfs.
  1590. 1999-03-22 David Martin <dmartina@mailexcite.com>
  1591. * ftpfs.c: Internationalize the messages that are displayed as
  1592. hints.
  1593. 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1594. * extfs.c (extfs_init): Fix the code here: If the key is empty or
  1595. only contains a new line, C would be pointing into an invalid location.
  1596. Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
  1597. * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
  1598. Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
  1599. * extfs/uha.in: Add support for ha archives.
  1600. 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1601. * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
  1602. set to zero.
  1603. 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1604. * vfs.h: Make it compile in AIX. Boy do those guys polute the
  1605. name space.
  1606. 1999-03-09 Shooby Ban <bansz@szif.hu>
  1607. * extfs/extfs.ini: Corrected rpms -> rpms:
  1608. by Balazs Nagy <julian7@kva.hu>
  1609. 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1610. * vfs.c (parse_ls_lga): kill the messages on each error.
  1611. Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
  1612. * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
  1613. of st_rdev. This makes stats on device files useless. Fixing
  1614. this does not break anything, but adds the ability to copy
  1615. device files properly. Ideally, both st_dev and st_rdev should
  1616. be returned for those programs that use the vfs to properly
  1617. recreate hardlinks. Whose idea was it to only return one of
  1618. these???
  1619. 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
  1620. * unlha.in: Fix the problem of having incorrect pathnames when
  1621. pulling out files from the LHA file.
  1622. Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1623. * tar.c (read_header): Treat hardlinks correctly.
  1624. Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1625. * ftpfs.c (insert_dots): renamed from insert_dot. We have to
  1626. insert ".." as well or directories from ftp servers which don't
  1627. list "." and ".." are displayed with an additional "/".
  1628. Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
  1629. * tcputil.c: One more my bug with '\0' -> NULL. Oops..
  1630. Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
  1631. * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
  1632. present. (BTW, bsdi uses it's own auth system..)
  1633. Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
  1634. * mcserv.c (do_auth): mcserv never auth properly on bsdi.
  1635. (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
  1636. setreuid()).
  1637. * tcputil.c: use correct signal handler (void func(int)) on BSDI
  1638. Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1639. * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
  1640. to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
  1641. Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1642. * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
  1643. occurance of 0 with NULL should stop this stupidy. And replacing
  1644. '\0' with NULL is plan wrong!!. Reverted this replacement.
  1645. * ftpfs.c (load_no_proxy_list): ditto
  1646. Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1647. * ftpfs.c (insert_dot): New function. Insert a "." into the linked
  1648. list. Stat'ing the root directory of a ftpfs fails if the dot is
  1649. missing.
  1650. (retrieve_dir): insert "." into the linked list if the ftp server
  1651. haven't send it.
  1652. Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1653. * The following changes make ftpfs work with a remote AmiTCP
  1654. server are the result of somehow longish EMail debugging session. I
  1655. don't know any public server of this kind but I was told the
  1656. combination Unix/Amiga boxes are often used in intranets.
  1657. * ftpfs.c (translate_path): New function. Translate a Unix path,
  1658. i.e. MC's internal path representation (e.g. /somedir/somefile) to
  1659. a path valid for the remote server. Every path transfered to the
  1660. remote server has to be mangled by this function right prior to
  1661. sending it. Currently only Amiga ftp servers are handled in a
  1662. special manner.
  1663. * ftpfs.c (various places): use translate_path
  1664. * ftpfs.c (login_server): Assume we have to mangle pathnames if
  1665. the greatings string from the server contains the word Amiga. If
  1666. this assumption is wrong I have to find another way to turn on
  1667. path translation.
  1668. * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
  1669. if it is missing. MC needs it as seperator between hostname and
  1670. path in its internal url representation.
  1671. 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1672. * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
  1673. Notwell 4
  1674. Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1675. * All around the source: Changed copy_strings() to g_strconcat(). Modi-
  1676. fy last parameter in concat_dir_and_file() to "" - to prevent stack from
  1677. disbalancing.
  1678. 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1679. * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
  1680. * Make-mc.in (VFSHDRS): Likewise.
  1681. Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
  1682. * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
  1683. gives the same effect.
  1684. 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1685. * utilvfs.c (append_path_sep): Fixed, it was broken for paths
  1686. which already have a / at the end.
  1687. Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
  1688. * undelfs.c: Found one more unconverted realloc() call.
  1689. 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1690. * undelfs.c (undelfs_loaddel): Fix Timur's changes.
  1691. Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
  1692. * Actually commit all changes :>
  1693. Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
  1694. * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
  1695. PATH_SEP_STR. Additionall cleanups of the memory code.
  1696. * utilvfs.h: Added several defenitions for common sizes for buffers.
  1697. It seems, most of us experience problems, when inventing size for new
  1698. buffer. This is much better and portable way to eliminate the problem.
  1699. 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1700. * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
  1701. Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1702. * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
  1703. g_strdup()/g_free() routings. Also, copy_strings() replaced by
  1704. g_strconcat(), and sprintf() by g_snprintf().
  1705. * utilvfs.h: New header file. Introduced as a stock header, which keeps
  1706. all includes in a right order, to avoid order-dependence mistakes.
  1707. Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
  1708. * direntry.c: vfs_s_find_entry_tree changed to follow
  1709. symlinks properly. Symlinks are now always followed
  1710. except for the last part of the filename.
  1711. vfs_s_resolve_symlink() now converts absolute paths to
  1712. ../../file notation so that they can be easily resolved
  1713. within the tree.
  1714. * tar.c: . and .. are missing from directory entries,
  1715. making it impossible to resolve links - fixed.
  1716. 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1717. * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
  1718. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1719. * sfs.c (redirect): tempnam returns a malloc()ed buffer.
  1720. Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1721. * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
  1722. Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1723. * sfs.c (sfs_free): Fixed wrong linked list handling (head was
  1724. lost after the first iteration).
  1725. (sfs_getid): dito, return value was wrong.
  1726. Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
  1727. * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
  1728. Also, fixed some bugs in parsing (and add new ones:), which diasallowed
  1729. proper parsing of device major and minor numbers. Some other fixes. Add
  1730. several new is_*() functions to make code readable.
  1731. 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
  1732. * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
  1733. defines for non-vfs compilation.
  1734. Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1735. * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
  1736. (where YY-MM-DD is parsed).
  1737. Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1738. * vfs.c (vfs_parse_filedate): If the date is less than 6 months
  1739. in the past, it is shown without year. In this case MC assumed
  1740. the current year which is wrong from Jan to Jun.
  1741. Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
  1742. * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
  1743. Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1744. * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
  1745. this filesystem and delete temporary files. This needs further
  1746. investigation.
  1747. * tar.c: deleted unused empty struct tar_super.
  1748. Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1749. * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
  1750. was used for external and internal reference count. This was wrong
  1751. because we can free resources taken up by the vfs as soon as the
  1752. external reference count (now fd_usage) is zero. The internal
  1753. reference count (ino_usage) mustn't matter because the vfs has to
  1754. clean up itself in the correct order.
  1755. Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1756. * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
  1757. and st_dev from vfs_s_default_stat.
  1758. (vfs_s_default_stat): initialize st_ino and st_dev to zero
  1759. * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
  1760. new archive.
  1761. Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1762. * tar.c: Deleted global variable tar_gzipped_memlimit.
  1763. Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1764. * vfs.c (vfs_strip_suffix_from_filename): New function which strips
  1765. known vfs suffixes from a filename and returns a malloced string
  1766. which has to be freed. Possible improvement: strip vfs suffix from
  1767. last path component.
  1768. * extfs/*: added "umask 077" to every script.
  1769. Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1770. * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
  1771. safely w.r.t. symlinks in /tmp
  1772. Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
  1773. * direntry.c: Hopefully got want_stale_data right...
  1774. Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
  1775. * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
  1776. this is neccessary for Solaris and probably others
  1777. Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
  1778. * vfs.c (vfs_type_from_op): removing unneccessary code
  1779. Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1780. * extfs/rpm: commit fix for files with spaces in name by Marc
  1781. Merlin (marcsoft@merlins.org)
  1782. Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1783. * fish.c: default to normal ssh
  1784. (open_archive_int): debugging hack killed
  1785. 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
  1786. * Makefile.am (EXTRA_DIST): Distribute files that the
  1787. BUILT_SOURCES depend on.
  1788. (mad.c, mad.h): Don't use GNU make specific features in rule.
  1789. (libvfs_la_SOURCES): Update from Make-mc.in.
  1790. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1791. * direntry.c (vfs_s_insert_super): This routine does not return
  1792. anything.
  1793. 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
  1794. * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
  1795. used anyway.
  1796. * xdirentry.h (LINK_NO_FOLLOW):
  1797. * tar.c (read_header):
  1798. * direntry.c (vfs_s_resolve_symlink):
  1799. (vfs_s_inode_from_path):
  1800. (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
  1801. LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
  1802. NO_FOLLOW are defined in an enum.
  1803. * vfs.h (ELAST): define it to 300, if not already defined, thats a
  1804. bad hack, but what can we do....
  1805. Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
  1806. * direntry.c (vfs_s_new_super): Added the missing return value.
  1807. Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
  1808. * vfs.h: (Temporary?) fix to the compiling error: Some of the error
  1809. codes, defined here are Linux specific and unknown to other systems.
  1810. Changed to #ifdef's with assigning new codes by means ELAST+offset.
  1811. Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
  1812. * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
  1813. which indicate a file with extented attributes (ACL)
  1814. Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1815. * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
  1816. we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
  1817. (resolve_symlink_without_ls_options): that's resolve_symlinks
  1818. we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
  1819. directory cache fetching directories if necessary. We got some
  1820. complaints about slower ftpfs in the above releases. Now this methode
  1821. is no longer the default methode to resolve symbolic links. It is still
  1822. needed for ftp servers which don't understand the LIST -lLa command.
  1823. (resolve_symlink): Dispatch between the two methods to
  1824. resolve symlinks.
  1825. Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
  1826. * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
  1827. thanks to Pavel Roskin for reporting
  1828. * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
  1829. * utilvfs.c (vfs_split_url): initialize variables so that we do
  1830. not return garbage
  1831. Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
  1832. * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
  1833. where unneccessary. I do not see why passing NULL to vfs_add_stamp
  1834. should be invalid -> removed check.
  1835. Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
  1836. * direntry.c, xdirentry.h: should be now prepared to handle
  1837. ftp-like filesystems. This is rather BIG change, altrough it does
  1838. not look so. I hope I do not break too many things.
  1839. Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1840. * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
  1841. Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1842. * extfs/rpm: Fix to display files belonging to users with
  1843. excessively long usernames
  1844. 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1845. * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
  1846. is both safe and more correct, as there is no limit on the
  1847. pathname.
  1848. * ftpfs.c (command): Same as above.
  1849. * util-alone.c (print_vfs_message): Same as above.
  1850. Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1851. * ftpfs.c: report which directory you are listing, fix behaviour
  1852. with servers that don't like LIST //. (Nowell) Fix behaviour even
  1853. with NT.
  1854. * direntry.c (vfs_s_automake): insert newly generated entry
  1855. * direntry.c (vfs_s_free_entry): Debugging printf() killed.
  1856. Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1857. * Make-mc.in: added xdirentry.h to VFSHDRS
  1858. Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1859. * tar.c (tar_open_archive): do not double-free memory if you can
  1860. not open archive, better error handling
  1861. * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
  1862. * sfs.c, tar.c: remove debugging messages (which really should not
  1863. escape from my tree)
  1864. Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
  1865. * README: added. If you are using emacs or hacking libvfs, please
  1866. read this one.
  1867. * direntry.{c,h}: new library created, so that same entry/inode
  1868. code does not have to be copied in every handler.
  1869. * tar.c: converted to use direntry.c library, which means BIG changes.
  1870. * ftpfs.c: small updates to make code look nicer
  1871. Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
  1872. * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
  1873. which actually need it.
  1874. * extfs.c: extfs_current_dir killed - it was unneccessary.
  1875. * mcfs.c (mcfs_get_path): It is possible for path not to begin
  1876. with /#mc:, for example if user does /etc/#mc:. (It is not
  1877. correct, of course). Return error, but do not vfs_die().
  1878. Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
  1879. * lib/mc.ext.in: cpio support fixed. It was broken since time we
  1880. started to do #ext syntax.
  1881. Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
  1882. * vfs.c (mc_open): die() if open is unsupported. If filesytem does
  1883. not support open, it is probably stupid typo, so we want bug to be
  1884. fixed.
  1885. Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1886. * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
  1887. free dcache while resolving symlinks (i.e. don't free some
  1888. pointers which are in use by resolve_symlink).
  1889. Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1890. * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
  1891. Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1892. * shared_ftp_fish.c (s_write): stupid bug fixed
  1893. Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1894. * extfs/*: marked obvious security holes with FIXME: TMP RACE
  1895. * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
  1896. symlink attack, fixed memory leak along the path
  1897. 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1898. * vfs.c, vfs.h: Indentation chages, ugly macros removed. I am
  1899. going to split this file in the future.
  1900. Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
  1901. * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
  1902. Borsenkow <borsenkow.msk@sni.de>
  1903. Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1904. * vfs.h (vfs_struct): renamed to avoid namespace conflict
  1905. Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
  1906. * sfs.c: reuse mmap from local.c
  1907. * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
  1908. and replaced with open(,O_LINEAR); lseek() combination
  1909. Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
  1910. * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
  1911. as it deals with portmapper, it is probably usefull for mcfs
  1912. * vfs.h (MCERR_*): these are no longer needed
  1913. * vfs.c (vfs_translate_url): translating of url's moved to vfs
  1914. code
  1915. * all around: trying to reduce namespace pollution. All special
  1916. functions (like extfs_run) should be done using mc_setctl()
  1917. interface. At the end, all non-static functions in vfs layer
  1918. should begin with vfs_ and should be declared in vfs.h (however
  1919. that goal is far away).
  1920. * all over the code: replace X_vfs_ops to vfs_X_ops
  1921. Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
  1922. * vfs.c: added stat to avoid hiding files by naming them
  1923. #ftp:localhost and similar. Vfs will not treat files as local if
  1924. they already exists, regardless of name.
  1925. Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1926. * vfs.h: disable BROKEN_PATHS by default. See if you can live
  1927. without cd .. from ftp tree putting you to last directory.
  1928. Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1929. * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
  1930. change, i.e. make it compile)
  1931. Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1932. * ftpfs.c (resolve_symlink): minor speed enhancement
  1933. Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1934. * vfs.h: vfs_force_expire() was incorrectly #define'd
  1935. Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1936. * extfs.c, sfs.c: added few static's to prevent people from doing
  1937. stupid things
  1938. Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1939. * vfs.h (struct vfs): renamed errno to verrno because glibc2
  1940. defines errno as macro (#define errno (*__errno_location ()))
  1941. Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1942. * Makefile.in: search config.status in builddir and not in srcdir/..,
  1943. i. e. make it compile for builddir != srcdir
  1944. Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1945. * COPYING.LGPL, all over the code: code is now under Library
  1946. General Public License (instead of GPL), so non-free applications
  1947. can link to it.
  1948. Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
  1949. * all over the code: added (vfs *) as first argument for functions
  1950. that have no other way to know what fs they belong to. This will
  1951. be used by object-like tricks, which will allow us to do real
  1952. code-sharing: I do not like #including of .c files.
  1953. 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1954. * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
  1955. linear_close
  1956. Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
  1957. * vfs.h (MIN, MAX): Only define if not already defined; glib.h
  1958. also defines them.
  1959. Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
  1960. * ftpfs.c: Fixed segfault caused by unitialized varialble
  1961. Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1962. * ftpfs.c: Special characters were printed via print_vfs_message.
  1963. This caused funny effects if "XTerm hintbar" was on.
  1964. Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
  1965. * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
  1966. files in sane way. copy_file_file will make temporary files for a
  1967. while (fix pending).
  1968. * tar.c: fixed bzip/bzip2 compressed archives
  1969. Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
  1970. * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
  1971. * vfs.h: created ERRNOR() macro which sets my_errno and returns,
  1972. which makes vfs's _much_ more readable
  1973. Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1974. * extfs.c: free() was called twice for the same place in memory
  1975. in extfs_open()
  1976. Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
  1977. * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
  1978. If true we try to use 'LIST -la <path>'. When it fails we use the
  1979. two commands 'CWD <path>' and 'LIST' instead.
  1980. (resolve_symlink): rewritten. Don't get a second directory listing
  1981. with `LIST -lLa'. Instead use the cache to get the file stat of
  1982. symbolic links. If the directory the symlink points to isn't
  1983. already in the cache the directory listing will be fetched and
  1984. stored in the directory cache (without resolving symlinks
  1985. recursively).
  1986. The new method to resolve symlinks is faster if symlinks
  1987. the same directory or the directory the symlink points to
  1988. is already in the cache.
  1989. This function was small and nice until I discovered that it was
  1990. broken for symlinks to symlinks. Now it looks ugly and perhaps I
  1991. will revert it to use "LIST -lLa" again. With a fast connection it
  1992. doesn't matter which methode we use but with a slow connection I
  1993. wouldn't hesitate to burn more cpu cycles on the client side.
  1994. (retrieve_dir): Added parameter to tell whether to resolve
  1995. symlinks (don't resolve symlinks in directory listings retrieved
  1996. while resolving symlinks).
  1997. When we don't get a directory listing with 'LIST -la <path>' then
  1998. try to get it with `CWD <path>; LIST'.
  1999. Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
  2000. * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
  2001. (retrieve_file_start2): Don't create target file O_EXCL, in
  2002. copy_file_file we check existance of the target file and know
  2003. that we want to truncate it (this change was already done a
  2004. while back but it was reverted with the vfs-split).
  2005. Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
  2006. * ftpfs.h (struct connection): added boolean which indicates that
  2007. the ftp server doesn't understand Unix ls options
  2008. * ftpfs.h (struct dir): added enum to store symlink status of the
  2009. in memory directory cache (directory has no symbolic links;
  2010. symbolic links but not yet resolved; symbolic links which are resolved)
  2011. Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
  2012. * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
  2013. honour the additional boolean parameter
  2014. Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
  2015. * vfs.h: add vfs_split() declaration, to make sfs.c happy.
  2016. * Make-mc.in, Makefile.am: Updated to include fish.c
  2017. 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
  2018. * sfs.c (sfs_free): assignment operator was used to check for equality
  2019. Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
  2020. * sfs.c: memory leak fixed
  2021. * vfs.c: split parse_ls_lga into more functions
  2022. * fish.c added, now you can access files over rsh/ssh connection
  2023. * shared*.c: reworked a bit not to include so many of ugly X_'s
  2024. Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
  2025. * ftpfs.c: cleanup of code, few static's added
  2026. * extfs/uarj: added, still, you need patches to unarj to make this
  2027. work
  2028. * util-alone.c: now includes code from libvfs.c, so we can kill
  2029. libvfs.c (which is good thing as it was non-standard in Makefiles)
  2030. Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
  2031. * undelfs.c: fixed, it has been broken for too long
  2032. * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
  2033. * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
  2034. handling in case of NULL in *_vfs_ops.
  2035. * extfs.c, ftpfs.c, tar.c: made use of above change
  2036. * vfs.c: cleanup of macros generating mc_*()
  2037. * libvfs.c: adding variable mc_home
  2038. Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2039. * extfs.c: mc_extfsdir was not defined in extfs_open()
  2040. * Make-mc.in: sfs.c was not compiled, linked and copied out
  2041. extfs/sfs.ini was not installed and copied out
  2042. * Makefile.am: sfs.c was not linked to standalone VFS
  2043. Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
  2044. * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
  2045. * Added single file filesystem (sfs)
  2046. * Added vfs_flags so library users can disable selected
  2047. filesystems
  2048. * Minor shuffling of functions so garbage collection works for
  2049. library
  2050. 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
  2051. * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
  2052. `mc-src'.
  2053. Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2054. * extfs/patchfs: %k replaced with more portable %H in the format
  2055. for "date" command
  2056. * extfs/extfs.ini: Added patchfs and mailfs. Some comments
  2057. changed
  2058. Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2059. * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
  2060. lines without enf-of-line.
  2061. Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
  2062. * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
  2063. is always 0.
  2064. 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2065. * ftpfs.c (ftpfs_open_socket): Potential security break fix.
  2066. 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
  2067. * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
  2068. Don't try building this, yet.
  2069. 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
  2070. * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
  2071. and $(EXTFS_OUT) because the first must be installed from
  2072. $(srcdir) and the second from $(builddir).
  2073. Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
  2074. * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
  2075. * Makefile.am: New file.
  2076. * Make-mc.in: Renamed from Makefile.in.
  2077. * Makefile.in: Removed.
  2078. Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
  2079. * Makefile.in: Rewritten stuff concerning extfs files.
  2080. Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
  2081. * Makefile.in: Remove arfs, since it doesn't seem to exist
  2082. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  2083. * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
  2084. are more logical (and so that things actually work, because new
  2085. names are currently in extfs.ini).
  2086. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  2087. * Modified code to use tempnam() instead of tmpnam(), fixed
  2088. tempnam() to use NULL instead of 0.
  2089. Wed Jun 3 Pavel Machek <pavel@ucw.cz>
  2090. * libvfs.c: adding libvfs.c which should contain things specific
  2091. to stand-alone libvfs.so. (This file was missing from previous
  2092. merge.)
  2093. Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
  2094. * ftpfs.c (ftpfs_fill_names): use right character to seperate
  2095. prefix and username
  2096. Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
  2097. * vfs.c (parse_ls_lga): allow a bit wider range of listings.
  2098. * vfs.c (is_time, is_year): new functions
  2099. Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
  2100. * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
  2101. Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
  2102. * extfs.c, shared.c, tar.c: I changed semantics in my previous
  2103. patch - _get_path() now modifies strings passed to it. I thought
  2104. that I were carefull enough not to introduce bugs. You guessed it -
  2105. I was not. [Many tar_ and extfs_ functions modify strings passed
  2106. to them, but as they are only called from vfs layer, it does not
  2107. matter much.]
  2108. So I renamed function to alert everyone that semantics changed.
  2109. Fixed bugs in timestamping (and segfaults) when you entered tar
  2110. inside zip file or similar.
  2111. * vfs.c (mc_open): Die if the filesystem doesn't support open
  2112. ??? Pavel Machek <pavel@ucw.cz>
  2113. * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
  2114. * util-alone.*: VFS should be able to compile stand-alone into
  2115. libvfs.so usable by anyone. This is first step.
  2116. * vfs.c & others: syntax change. We no longer use
  2117. tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
  2118. better defined meaning. Similar changes are done to all other
  2119. protocols. This change touched really _many_ places of code.
  2120. 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2121. * vfs.c (MC_DIROP): Macro now returns the proper value.
  2122. 1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
  2123. * Makefile.in ('install' target): 'mcserv' not installed, if
  2124. net-code is not enabled by 'configure'.
  2125. Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
  2126. * Makefile.in (LIBS): add @LINTL@
  2127. Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  2128. * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
  2129. optimation is wrong because for directories containing spaces we
  2130. have to "CWD <pathname>" and "LIST -la" instead of
  2131. "LIST -la <pathname>".
  2132. I implemented a different optimation. Now ftpfs_chdir only stores
  2133. the new working directory and sets a flag. __ftpfs_chdir is called
  2134. when we really want to change the directory on the ftp server.
  2135. (resolve_symlink): Log the directory listing to the logfile.
  2136. * ftpfs.h (struct ftpfs_connection): Added a (per connection)
  2137. cwd_defered flag.
  2138. Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
  2139. * Makefile.in: Links to mad.c and mad.h were created wrong when
  2140. srcdir != builddir and directory depth to srcdir and builddir were
  2141. different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
  2142. * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
  2143. in copy_file_file we check existance of the target file and know
  2144. that we want to truncate it.
  2145. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2146. * tar.c (read_header): Mark regular files with S_IFREG.
  2147. Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  2148. * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
  2149. my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
  2150. copyout of 4.1.32.
  2151. 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  2152. * ftpfs.c (retrieve_file_start2): Open file exclusively.
  2153. (retrieve_file): likewise.
  2154. 1998-03-31 Philippe De Muyter <phdm@macqel.be>
  2155. * vfs.h: compilation fix for m68k-motorola-sysv
  2156. Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
  2157. * extfs/hp48: Added a usage summary
  2158. Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
  2159. * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
  2160. filesystem to view and copy files to/from the HP48.
  2161. Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
  2162. * extfs.c: Add support for writtable external file systems.
  2163. Required for the httpfs.
  2164. Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
  2165. * extfs.c (open_extfs_archive): Pass the quoted argument to the
  2166. list command.
  2167. * mailfs: new file system.
  2168. 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
  2169. * tar.c: fix the bug which core dumps when trying to view tar file
  2170. with many files (over 60000).
  2171. Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2172. * vfs.c (mc_opendir): Do not make conversions between int/void *
  2173. to make the code compile and work on the Alpha correctly.
  2174. Allocate a pointer to an int and use that instead.
  2175. Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
  2176. * extfs/rpm: Small fix for older RPM files.
  2177. Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
  2178. * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
  2179. * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
  2180. free the extfs buffers immediatly instead of waiting for the vfs-
  2181. timeout
  2182. Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2183. * vfs.c (vfs_canon): the "local:" case was consuming one extra
  2184. character. This fixes the bug reported by Andrej. Also, handle
  2185. the non-canonical case of arguments to local:
  2186. Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  2187. * mcserv.c (get_client): The parent now waits for the first forked
  2188. process, getting rid of the zombies.
  2189. * utilvfs.c (open_tcp_link): If we can not contact the remote
  2190. portmapper, set the protocol version to 1.
  2191. Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
  2192. * mc.spec: New spec file, this packages mc, mcserv and tkmc.
  2193. * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
  2194. * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
  2195. more info currently displayed (changeslogs, Os, URL, packager
  2196. Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
  2197. * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
  2198. force vfs scripts to be executable on those systems that use
  2199. install.sh
  2200. * src/utilunix.c: Implement socketpair for SCO flavored systems.
  2201. Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
  2202. * configure.in (--with-hsc): fix.
  2203. * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
  2204. passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
  2205. passing it as integer)
  2206. Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
  2207. * extfs/lha: Updated the lha filesystem and included a command
  2208. for running an executable from within an lha archive suggested
  2209. by Zdenek Kabelac <kabi@informatics.muni.cz>
  2210. * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
  2211. config.in to create these VFS's for cleaner compilation