delorie.com/archives/browse.cgi | search |
--Multipart_Thu_Nov__2_02:45:42_2000-1 Content-Type: text/plain; charset=US-ASCII The enclosed patch will fix the problem of getcwd bug in ftpd. This will work both for inetutils-1.3.2-7 and inetutils-1.3.2-8. I hope this help. Regards, Takashi Nishigaya At Wed, 01 Nov 2000 09:47:45 -0600, Chris Abbey <cabbey AT bresnanlink DOT net> wrote: > > At 23:58 11/1/00 +0900, takashi AT flab DOT fujitsu DOT co DOT jp wrote: > >$ grep getpwd ftpd.c > > path = getcwd (0, 0); > > char *cwd = getcwd (0, 0); > > char *path = getcwd (0, 0); > > > >The ftpd should be fixed, I think. > > I am sure that patches will be happily accepted by the list. ;) > > now the forces of openness > have a powerful and > unexpected new ally > http://ibm.com/linux/ --Multipart_Thu_Nov__2_02:45:42_2000-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="inetutils-1.3.2.diff" Content-Transfer-Encoding: base64 LS0tIGluZXR1dGlscy0xLjMuMi9mdHBkL2Z0cGQuYy5vcmlnCVRodSBOb3YgIDIgMDE6NDc6 NDggMjAwMAorKysgaW5ldHV0aWxzLTEuMy4yL2Z0cGQvZnRwZC5jCVRodSBOb3YgIDIgMDI6 Mjc6MjIgMjAwMApAQCAtMjY3LDcgKzI2NywxNSBAQAogICAgICAgICBzdGF0aWMgY2hhciAq cGF0aCA9IDA7CiAJaWYgKHBhdGgpCiAJICAgICAgICBmcmVlIChwYXRoKTsKKyNpZiBkZWZp bmVkKEhBVkVfR0VUQ1dEX1pFUk9fU0laRSkKIAlwYXRoID0gZ2V0Y3dkICgwLCAwKTsKKyNl bHNlaWYgZGVmaW5lZChQQVRIX01BWCkKKyAgICAgICAgcGF0aCA9IGdldGN3ZCAoMCwgUEFU SF9NQVgpOworI2Vsc2VpZiBkZWZpbmVkKE1BWFBBVEhMRU4pCisgICAgICAgIHBhdGggPSBn ZXRjd2QgKDAsIE1BWFBBVEhMRU4pOworI2Vsc2UKKyAgICAgICAgcGF0aCA9IGdldGN3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KKyNlbHNlCisJY2hh ciAqcGF0aCA9IGdldGN3ZCAoMCwgMjA0OCk7CisjZW5kaWYKIAlpZiAocGF0aCkgewogCQly ZXBseSgyNTcsICJcIiVzXCIgaXMgY3VycmVudCBkaXJlY3RvcnkuIiwgcGF0aCk7CiAJCWZy ZWUgKHBhdGgpOwo= --Multipart_Thu_Nov__2_02:45:42_2000-1 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --Multipart_Thu_Nov__2_02:45:42_2000-1--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |