Re: [PATCH] Clean up compatibility definitions.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Tuesday, December 6, 2005 - 12:15 am

On 12/5/05, Junio C Hamano <junkio@cox.net> wrote:

Do not depend nor use anything from the calling code (do not take
anything from git). If it has to serve as compatibility wrapper to
mmap, it better should be mmap(2): return MAP_FAILED if error, do not
exit process, do no output. I wouldn't expect open(2) to print "File
not found", would you?

Besides, MAP_FAILED is perfectly handled in calling layers. If they
even print out errno, the case is completely covered and simplier
handled.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Clean up compatibility definitions., Junio C Hamano, (Mon Dec 5, 1:22 pm)
Re: [PATCH] Clean up compatibility definitions., Johannes Schindelin, (Mon Dec 5, 1:36 pm)
Re: [PATCH] Clean up compatibility definitions., Junio C Hamano, (Mon Dec 5, 1:51 pm)
Re: [PATCH] Clean up compatibility definitions., Alex Riesen, (Mon Dec 5, 2:39 pm)
Re: [PATCH] Clean up compatibility definitions., Alex Riesen, (Mon Dec 5, 2:50 pm)
Re: [PATCH] Clean up compatibility definitions., Junio C Hamano, (Mon Dec 5, 2:58 pm)
Re: [PATCH] Clean up compatibility definitions., Petr Baudis, (Mon Dec 5, 4:12 pm)
Re: [PATCH] Clean up compatibility definitions., Alex Riesen, (Tue Dec 6, 12:15 am)
Re: [PATCH] Clean up compatibility definitions., Junio C Hamano, (Tue Dec 6, 12:31 am)
Re: [PATCH] Clean up compatibility definitions., Alex Riesen, (Tue Dec 6, 12:35 am)
Re: [PATCH] Clean up compatibility definitions., Junio C Hamano, (Tue Dec 6, 12:58 am)
Re: [PATCH] Clean up compatibility definitions., Alex Riesen, (Tue Dec 6, 1:07 am)
Re: [PATCH] Clean up compatibility definitions., Junio C Hamano, (Tue Dec 6, 1:11 am)