Mail Archives: cygwin/2002/03/07/23:25:47
--0-84618858-1015561526=:92884
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Well, after going over hoards of MSDN documents and adjusting my
code, I realized what most developers' first guess might have been...
I followed the null pointer. Madness overtook me.
I corrected this (char *)problem and my util actually passed all my
tests, no matter which directory it was in. I also ran it through
GNU indent a few times (just to make sure :)
Features of this version include:
--Prettier code, thanks to indent
--Better error checking
--Works ;)
Because of the indent the patch is bigger than the actual file,
so here's the whole thing. (Chuck, this should be drop-in replacement
for the one in cygutils-0.9.9. I apologize for the inconvenience.)
Thanks again to Corinna and Jason for the help.
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--0-84618858-1015561526=:92884
Content-Type: application/octet-stream; name="mkshortcut.c.bz2"
Content-Transfer-Encoding: base64
Content-Description: mkshortcut.c.bz2
Content-Disposition: attachment; filename="mkshortcut.c.bz2"
QlpoOTFBWSZTWX4CfI4ABidfgHgwf//+v7///+6////+YA98Cgb7Zo7ZW0Ou
5127uKm2TjKFxWMJVBFKkRrVm2zqhKEJoRhKn+gaEMJNNMU9T1PKafqaJ7TS
noanppNDTRmkAlBGhAQMpMaQTyJ6mTRoAGQAA0BkA0ONDQNGmRpo0yAxMEAA
NAaA0yAwJkCTUSEKbQ0JPaJpqeVPamU8TI1GhtNTINABmo9IG1A40NA0aZGm
jTIDEwQAA0BoDTIDAmQJEhAAiaNNDSaaNTAaMhTZR6T1HiQHlPSDRoaMZySC
IADAzA9v2/vqvdgJkggyBPEwlXVH3JQPsoA6APJvgag98yqUeQohXw0FZ3/7
LIcqpxRWKowyjiNRcwk0uTDLIZxBgnwfLZetNMzQYsRBbhkzJpNlUa6aAplA
zFMqWJdpVtIt0NaH7YGcMxxMkphmmDA4vFYsFaoaKu8Ni8GEDl0pYtwsU8Ia
Co97AxN/fC+8a68Fk/MPiz7L7piTIzQVc2kTj3S5q3SSE1bKJJCeHV4GIsFE
kRJFgCIopAE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VL/c
Zni156ogb4gQyF0hqHROqzYTKoazQtJiSJ58VFgXDDkSjk54c7KQ/Pp8x6sk
UDM8qXMb+ny7EFjOaIO003Alh1rtFl68q60NBuTkCWypnQUzWnHGWsDAJQkM
8hH2bOczmQQP4Ig7pZYM/fPJdZGqBSz7D1TDNGRRt/9PP7tyO//QsNWROS2a
b2bzIkjvcn6Jhyzm5IcIKKIk06AfiQZg7Cdd8Hrczz6w1/Lg6ZH7F0KhX2Gq
5qA2yTiVl9Qdslw4QfN8EpFRKkyLSJhGxXQq4vorFsoytA/AREBimJ1IcL2o
XKSpOBQNjQVlhZSXiQUL1vMcAHecEBh7YDNCZgLAAPOxLA7gU7wiWR9mpSSY
WwUSC9tixyDIKhLCsNckASdqJs7qowqPPhJHba6D/N7kslZpRYmivKjRVKOr
XduER1cc54CdlJG62+4gYxuO29I7pcXoLjKjENRWkzUVhlyScfX2pPi6OxU3
eivnBN5zAbGIjARp2+qsxba7z2OsuDXahwgg6hFLElk8du3xyE5OX1hoayiV
XeGVFuimFVW3ZtU5E0A7o3MHMJL0qlCGrMVqCLLMku+zzmN1VZ1q7uzLEXLK
aA9nRrTqopeMglrLYJiUYm44YdcgVPmgqryRQAi0wY4g2Tm5WCuYEAqmNhZA
4boZwpghptJRFBjEQ4t00h6jmcffxYE1CufEQ3l4YhJEEoKCGiiI25NdzFxz
qDYqHgWzbYL8x70Iwy/8GeOCayPi/CINVBodpr8J3acqOggYw0S8H42cJeRw
QuKZE1Ot5TCXP4ru8Z2x0LUm5vOA3gfjNSqFJnaPDqInDdZJyeLnkeZSNQw4
Xcsghb2BmjLBhgCP5MenGk9GdEVPt6JBK0FppJAbz0GczgKImhIoh9eez15p
tVmr8p7ojAxAgUfPpQR/8XckU4UJB+AnyOA=
--0-84618858-1015561526=:92884
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--0-84618858-1015561526=:92884--
- Raw text -